Fixes #3315: Lessons ordering.