sort the key on the filtered maps in alphabetic order