Fix student listing sort not working.