sort by collating sequence