protected void sortResolvedResources ( List < HalResource < ? > > resolvedResources ) { Comparator < HalResource < ? > > comparator = getResourceComparator ( ) ; if ( comparator != null ) { Collections . sort ( resolvedResources , comparator ) ; } }
Sort the resolved resources to ensure consistent order of resolved resources .