Move "sort list of versions" logic into routerparse.c; make version-checking code...