Revised sort order request

Hi,

I revised the sort order request for my purpose. I think this solution is cleaner. Up to you to pull it. In any case, awesome plugin. :+1: