sort api keys by name