Getting ordering to work on the lists of mediafiles and teachers. Not quite there yet on teachers but mediafiles works now.