CSIT-1703: Trending: Improve sorting in the dashboard