Sort columns when the related number is pressed