teacher sorting & css changes