I want my sorts to be stable, please

This commit is contained in:
Erica Fischer
2024-02-28 16:05:51 -08:00
parent c49cebb541
commit 329279960f
10 changed files with 20 additions and 20 deletions
+1 -1
View File
@@ -2704,7 +2704,7 @@ std::pair<int, metadata> read_input(std::vector<source> &sources, char *fname, i
}
}
std::sort(ddv.begin(), ddv.end());
std::stable_sort(ddv.begin(), ddv.end());
size_t i = 0;
for (int z = 0; z <= basezoom; z++) {