Add sorting to lesson set.