all sorting works on teacher