これを解決するための見苦しくない/よりプログラム的な方法はありますか:
ORDER BY CASE
WHEN lessonID = 'lesson_1' Then 1
WHEN lessonID = 'lesson_novid_1' Then 2
WHEN lessonID = 'lesson_2' Then 3
WHEN lessonID = 'lesson_novid_2' Then 4
WHEN lessonID = 'lesson_3' Then 5
WHEN lessonID = 'lesson_novid_3' Then 6
WHEN lessonID = 'lesson_4' Then 7
WHEN lessonID = 'lesson_novid_4' Then 8
WHEN lessonID = 'lesson_5' Then 9
WHEN lessonID = 'lesson_novid_5' Then 10
WHEN lessonID = 'lesson_6' Then 11
WHEN lessonID = 'lesson_novid_6' Then 12
WHEN lessonID = 'lesson_7' Then 13
WHEN lessonID = 'lesson_novid_7' Then 14
WHEN lessonID = 'lesson_8' Then 15
WHEN lessonID = 'lesson_novid_8' Then 16
WHEN lessonID = 'lesson_9' Then 17
WHEN lessonID = 'lesson_novid_9' Then 18
WHEN lessonID = 'lesson_10' Then 19
WHEN lessonID = 'lesson_novid_10' Then 20
WHEN lessonID = 'lesson_11' Then 21
WHEN lessonID = 'lesson_novid_11' Then 22
WHEN lessonID = 'lesson_12' Then 23
WHEN lessonID = 'lesson_novid_12' Then 24
End ASC