diff --git a/src/store/printer/getters.ts b/src/store/printer/getters.ts index 943ccc6cc..5654ae60d 100644 --- a/src/store/printer/getters.ts +++ b/src/store/printer/getters.ts @@ -890,7 +890,12 @@ export const getters: GetterTree = { }) ) - return tools + return tools.sort((a, b) => { + const numberA = parseInt(a.name.slice(1)) + const numberB = parseInt(b.name.slice(1)) + + return numberA - numberB + }) }, getKinematics: (state) => {