check patches in ascending order