Fixed a column sorting bug.