order teachers by last name in submit grades selection