[BREAKING CHANGE] Rename method cmpOffsetPaths to compareOffsetPaths

Change-Id: I701a2168b6eba1c0bc74fdc5cac37d67e26f8180
Convenience compareDocumentOrder method

Change-Id: I69529a4ad59c6c817581264083a261df510db0fe