Sort with problem number