One more test && some fixes
Order locations, teachers and subject by entry offset