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

This reverts commit c81e0be0502e61fc9658f8355b01c42dbe5b0044.