fixed ticket-sorting to themes