Added a new sort order to findnodes.