Here's an idea, take the exact same auto-sort priority settings from FFXI Windower and work based on that.