diff --git a/src/components/inputs/InputCombo.vue b/src/components/inputs/InputCombo.vue index 288763f..2dff6bf 100644 --- a/src/components/inputs/InputCombo.vue +++ b/src/components/inputs/InputCombo.vue @@ -50,7 +50,7 @@ export default { }), computed: { isValid: ({options, nameKey, internalName}) => options.some(e => e[nameKey] == internalName), - sortedOptions: ({options, nameKey}) => options.sort((a, b) => a[nameKey] > b[nameKey]), + sortedOptions: ({options, nameKey}) => options.sort((a, b) => a[nameKey].localeCompare(b[nameKey], 'en', { numeric: true })), }, watch: { internalName(newValue, oldValue) {