Added order_by columns in user::load_by_capability_and_course_id