Sort course and enrollment pairs on dashboard
Merge pull request #5503 from edx/diana/reorder-dashboard-courses

Sort course and enrollment pairs on dashboard
Small changes to the segment.io event handler