REC Sorting, ordering and classifying