sort courses by module code