Sort course and enrollment pairs on dashboard

ECOM-418
That's a bit cleaner than what I did in _get_recently_enrolled_courses, but just out of curiosity, why use python sort instead of changing the enrollment query? Just avoiding making the query more expensive?