Put problems in order