Ticket #3134: fix some inconsistencies in "Learn keys" UI.

Reorder keys in "Learn key" window in accordance with the order
of keys on regular keyboards.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>