We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c87ad3c commit 6540585Copy full SHA for 6540585
src/searchindex_js.cpp
@@ -487,7 +487,11 @@ void createJavaScriptSearchIndex()
487
for (auto &[name,symList] : sii.symbolMap) // for each symbol in the index
488
{
489
// sort the symbols (first on search term, and then on full name)
490
- std::sort(symList.begin(),
+ //
491
+ // `std::stable_sort` is used here due to reproducibility issues
492
+ // on key collisions
493
+ // https://github.com/doxygen/doxygen/issues/10445
494
+ std::stable_sort(symList.begin(),
495
symList.end(),
496
[](const auto &t1,const auto &t2)
497
0 commit comments