Sort the groups on the dashboard by name

Review Request #2571 — Created Sept. 1, 2011 and discarded


Review Board


When you have anything more than a few groups to watch having them out of order is very painful. This patch will make the groups in the dashboard appear in order.
Did some manual testing using Django 1.3.
  1. A better way to do this would be to sort this at SQL query time in reviews/
    1. Actually that wouldn't work. The code in just populates a dictionary, which doesn't give us any sort info. This change looks good to me.
    2. Can't we use Django's SortedDict to preserve that sort info, and sort in SQL?
    3. Sure, I can do that. Discarding this change...
Review request changed

Status: Discarded