Fixed a column sorting issue