diff --git a/src/bootstrap/Select.js b/src/bootstrap/Select.js index 002f7de..5dfd7d1 100644 --- a/src/bootstrap/Select.js +++ b/src/bootstrap/Select.js @@ -28,10 +28,11 @@ export function Select({ }) { const uid = useUID(); - const options = Object.keys(choices).map( + const options = Object.keys(choices).sort( + (a, b) => a - b || a.toString().localeCompare(b.toString()), + ).map( (key) => , ); - return (