Added NodeOrder support to __richcmp__