Implemented sorting for active view of ticket list