The order on the left is the order in the table.
Press Space to pick up. Arrow keys move, Space drops, Escape cancels.