Use natural sorting for remaining lists of items in the UI

This commit is contained in:
Bogdan
2024-07-18 22:49:43 +03:00
parent 76f30e7682
commit 8abccc709e
2 changed files with 6 additions and 3 deletions
@@ -231,7 +231,9 @@ function SearchIndexOverview(props: SearchIndexOverviewProps) {
{indexerFlags.length
? indexerFlags
.sort((a, b) => a.localeCompare(b))
.sort((a, b) =>
a.localeCompare(b, undefined, { numeric: true })
)
.map((flag, index) => {
return (
<Label key={index} kind={kinds.INFO}>