Merge pull request #2807 from dowinter/dev

Fix augmentation order when set to alphabetically
This commit is contained in:
hydroflame 2022-01-26 00:32:59 -05:00 committed by GitHub
commit 939136a32a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -26,7 +26,7 @@ export function InstalledAugmentations(): React.ReactElement {
if (Settings.OwnedAugmentationsOrder === OwnedAugmentationsOrderSetting.Alphabetically) {
sourceAugs.sort((aug1, aug2) => {
return aug1.name <= aug2.name ? -1 : 1;
return aug1.name.localeCompare(aug2.name);
});
}