Correct patches order