Fix ordering of problems