fix(nc): Sort references before adding to list of nodes
fix(nc): Sort references before adding to list of nodes

Node.references is of type `set()` which is an unordered collection.
This results in a different order of elements on every run of nodeset compiler although the input did not change.

This change fixes this behaviour and produces identical (i.e. deterministic) output from the same input.

jpfr/open62541,open62541/open62541,jpfr/open62541,JGrothoff/open62541,StalderT/open62541,JGrothoff/open62541,jpfr/open62541,JGrothoff/open62541,StalderT/open62541,StalderT/open62541,jpfr/open62541,open62541/open62541,StalderT/open62541,JGrothoff/open62541,open62541/open62541,open62541/open62541