I would like to sort the list extnodeID based off the nodeids that extnodeID is referencing. Code will probably have mistakes as it\'s just an example
class N