diff --git a/CHANGELOG.md b/CHANGELOG.md index 4bb35f72..31950868 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,9 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/). ### Added - Added Array Widget +### Changed +- Made the listing of maps in the editor be numeric aware. + ## [1.8.1] 2024-08-01 ### Fixed - The currently selected mod is now properly displayed in the settings menu diff --git a/webapp/src/app/components/dialogs/load-map/virtualMapNode.model.ts b/webapp/src/app/components/dialogs/load-map/virtualMapNode.model.ts index 1db541f8..f708cbf7 100644 --- a/webapp/src/app/components/dialogs/load-map/virtualMapNode.model.ts +++ b/webapp/src/app/components/dialogs/load-map/virtualMapNode.model.ts @@ -82,6 +82,6 @@ export class VirtualMapNode { return aIsDir ? -1 : 1; } - return a.name.localeCompare(b.name); + return a.name.localeCompare(b.name, undefined, {numeric: true}); } }