summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorEd Tanous <edtanous@google.com>2021-09-30 01:17:24 +0300
committerEd Tanous <ed@tanous.net>2021-10-27 19:52:10 +0300
commit92409d0e6bd0e5839836ae92b4a74f4dee603074 (patch)
treecfafd4bba79425b71dc48de8c74ed62c929d5ace /src
parent39b129f519caec29c6a8cb2f891ab788f4bf2951 (diff)
downloadbmcweb-92409d0e6bd0e5839836ae92b4a74f4dee603074.tar.xz
Sort collections by human sort
Today, collections of dimms have a weird issue where they sort by lexicographical sort, not numeric sort, so systems with >10 dimms show up in the order: Dimm1 Dimm10 Dimm11 Dimm2 While these collections are supposed to be sets, and the order doesn't matter in the spec, there are a number of humans that look at these, and doing something obvious is good for people. Tested: Tested on a CI system with 16 dimms here: https://gist.github.com/geissonator/53a94f124c3501691a7870fb80c60c80 Which responded with dimms 1 and 11 being in the correct order. Signed-off-by: Ed Tanous <edtanous@google.com> Change-Id: I0c8b28fd169c5a957fb4d36a7c6771473b06fc0c
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions