The SatSYNC user guide has a small section (12) on geocaching, but it doesn’t mention how the sorting works. Anyway, from experience, the geocaches are sorted in ascending alphabetical order. I also think that each name is unique. If the name is too long, you can move the joystick to the right in the OOI Menu, while the cache is selected, to reveal the trailing characters.
If you want to quickly edit all the names so that the caches are sorted order in a specific order, you can try a GSAK macro as mentioned by the K9 Crew in this topic.