This is often used for anonymous definitions, so we were sorting alphabetically by anonymous_1234 record names, which while less bad than pointers can be easily perturbed by adding code even in completely unrelated systems.
That causes test failures on AArch64 when sysregs with multiple valid names suddenly start printing a different one for no obvious reason.
At Apple we've had aliased sysregs for a while, and this semi-deterministic printing was a scourge ; and judging by a few of the check lines being replaced it was hit even during the development of D110065.
So this patch instead sorts by the contents of the record.
obsolete