fix lesson sorting exception [#85080542]