Since RK::Recs is sorted by character order, anonymous defs will be
enumerated like this;
- anonymous_0
- anonymous_1
- anonymous_10
- anonymous_100
- anonymous_1000
- ...
- anonymous_99
- anonymous_990
- ...
- anonymous_999
Some records around each gap might be wrapped around along increase or
decrease of records in middle. Then output order of anonymous defs
might be changed.
Numeric sort is expected to prevent such wrap-arounds.
This can be implemented with StringRef::compare_numeric().
- ...
- anonymous_99
- anonymous_100
- ...
- anonymous_999
- anonymous_1000
- ...
Although it would be simpler to change the comparator of Recs as numeric,
I don't do, since;
- I am afraid if numeric comparator is not lightweit.
- It triggers behavior change (mentioned above)
clang-format not found in user’s local PATH; not linting file.