added reordering to lessons