Fixed bug #10381 - AgentTicket*View has invalid SortBy options.