Fix part of issue 4533, apply hunks in matched order.

* subversion/libsvn_client/patch.c
  (sort_matched_hunks): New.
  (apply_one_patch): Sort hunks.

* subversion/tests/cmdline/patch_tests.py
  (patch_hunk_reorder): Remove XFAIL, swap order of output lines.


git-svn-id: https://svn.apache.org/repos/asf/subversion/trunk@1644595 13f79535-47bb-0310-9956-ffa450edef68