> The field that I want to sort by has values of AB-1, AB-2, AB-3, etc. > When the values get above AB-9, direct sorting does not work. > AB-10, AB-11, AB-12, etc. come before AB-2. So, I need to > manipulate these values outside of the collection, then add > them back in.
Direct sorting doesn't work, because by "direct sorting" I'm assuming you mean "the default sort implementation for Strings". Could you not have your record object implement Comparable, and then have your implementation of compareTo() understand that A-9 comes before A-10 ? --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
