sort and sort-by don't conceptually change the contents of their source. It would be useful if they retained meta while reordering their contents.
Alex, you may have forgotten the patch
The original patch (clj-2417.patch) is missing the '(is ..' wrapping in the test, without which the test are run but failures not reported. clj-2417-fix-test.patch adds the missing wrapping as a separate patch. Another option is to fix this in the original patch and to re-apply it.
The patch has already been applied, can you make a new ticket?