public static void sort ( List < ? extends Extension > extensions , Collection < SortClause > sortClauses ) { Collections . sort ( extensions , new SortClauseComparator ( sortClauses ) ) ; }
Sort the passed extensions list based on the passed sort clauses .