Scott, Check your line of code for: SetSortColumns(-??)
Using the new API, mine is SetSortColumns(-30), but you have to count your columns to confirm for your code.
You have to change this when you add additional columns, so it will sort on the proper rank column.
I made a similar error before going live and Nick straightened me out.