sort the keywords