Sort attendance record by # of classes attended