Fixes #4859: Sort node id list system var to preven useless regeneration