Ransack count sort order is wrong

@Gary_Riger Please try to track down the line of code and the object that is nil in the Ransack library.

I just put together this tip to help you do that.

Once you do that, post what you find.