Refactor: libcrmcommon,libpe_rules: move sort_pairs() to libcrmcommon
Rename and expose internally as pcmk__cmp_nvpair_blocks(). No code changes other than the name.