It might be a good idea to make CollectionUtil or ArrayUtil return early if the passed-in list or array's length <= 1 because sorting is unneeded then. This improves maybe automaton or other places, as for empty or one-element lists no SorterTermplate is created.
|Priority||Major [ 3 ]||Trivial [ 5 ]|
|Status||Open [ 1 ]||Resolved [ 5 ]|
|Lucene Fields||[New]||[New, Patch Available]|
|Resolution||Fixed [ 1 ]|
|Status||Resolved [ 5 ]||Closed [ 6 ]|