Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
Co-authored-by: Keith Cirkel <[email protected]>
  • Loading branch information
ecl1ps and keithamus authored Nov 19, 2024
1 parent 0eb4a58 commit adc812a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ const sortObjectBySemver = sortObjectBy((a, b) => {
const { name: bName, range: bRange } = parseNameAndVersionRange(b)

if (aName !== bName) {
return aName > bName ? 1 : -1
return aName.localeCompare(bName, 'en')
}
if (!aRange) {
return -1
Expand Down

0 comments on commit adc812a

Please sign in to comment.