diff --git a/frontend/src/sorts.js b/frontend/src/sorts.js index 83040255..7b0dfe6d 100644 --- a/frontend/src/sorts.js +++ b/frontend/src/sorts.js @@ -1,5 +1,8 @@ export function sortDevices(a, b) { - return a.name > b.name; + return a.name.localeCompare(b.name, undefined, { + numeric: true, + sensitivity: 'base' + }); } export function sortPorts(a, b) {