[CrOS Settings] Use strict weak ordering when sorting results
Before this change, we arbitrarily returned "true" for search result items which were deemed equal to each other, but this was incorrect because the comparison function is testing whether the first item is less than the second item. This CL updates this function so that it returns false in this case, which induces a strict weak ordering of results. Fixed: 1090184 Change-Id: I763112cef36d68731a88fd8a3696a800292899a3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2225930 Commit-Queue: Kyle Horimoto <khorimoto@chromium.org> Auto-Submit: Kyle Horimoto <khorimoto@chromium.org> Reviewed-by:Zentaro Kavanagh <zentaro@chromium.org> Cr-Commit-Position: refs/heads/master@{#774366}
Showing
Please register or sign in to comment