Implement numeric sort for column positions.