SGComps: Make SGInputLoader output predictable.
The ordering of a loop over a DataObjIDColl is undefined. This can cause the output to differ between different compiler versions. Sort objects in SGInputLoader to make the output stable across compiler versions.