[ticket/8309] Moving key to get keys in alphabetical order

PHPBB3-8309