where('class_id', $classId) ->where('subject', $subject) ->orderBy('unit_number', 'ASC') ->orderBy('chapter_name', 'ASC') ->findAll(); } }