Class SortUtils


  • public class SortUtils
    extends Object
    Helper class to provide functionality related to sorting.
    Since:
    2.6
    Author:
    Tom Page
    • Method Detail

      • getStringComparator

        public static Collator getStringComparator()
        Get a string comparator that sorts strings according to the locale of the server, and which treats spaces as earlier than alphanumeric characters.
        Returns:
        The comparator.