question: public static List sortKeyInMap ( Map map , Locale locale ) { List sorted = Collections . EMPTY_LIST ; if ( ( map != null ) && ! map . isEmpty ( ) ) { sorted = sortItems ( map . keySet ( ) , locale ) ; } return sorted ; }
target:  Sorts keys in a map.