Simple version of the sort util, it sorts only based on the first column