sort key presses out