I have a table with active and last_active_time fields. They contain the activity index and the time of the last event, respectively. I need to sort by active column in descending order, if the row values ββare the same, then sort by last_active_time descending. How to implement this correctly?