Add self-calculating order when creating new CodeLessons