Sort teachers by weight