fixed bug #1373, onlineCourses sorted by date