RR: add sorting for category and last submission date
RR: change sorting selected based on selection