Fix first column sorting