Add least time at school sort function