I've got two models - Ticket & Answer, Answer is child (belongs to) of the ticket model. The goal is to sort tickets by most recent answer by its date, so in the end tickets with the recent answers should displayed at the top of the list on the frontend.
How that can be achieved?