Switch back to using a stable sort

so that for example demos stay sorted the same way when sorting by demo
markers and removing a demo, otherwise they get totally reordered every
time.

as reported by Shyzo
This commit is contained in:
def 2021-03-15 23:36:23 +01:00
parent 30d3aedc19
commit a4bb2f8764

View file

@ -109,7 +109,7 @@ void sort_quick(R range)
template<class R>
void sort(R range)
{
std::sort(&range.front(), &range.back() + 1);
std::stable_sort(&range.front(), &range.back() + 1);
}
template<class R>