# [Java (JDK 10)], 126 bytes <!-- language-all: lang-java --> l->l.sort(java.util.Comparator.comparing(n->(""+n).chars().mapToObj(c->10+"854-9176320".indexOf(c)+"").reduce("",(a,b)->a+b))) [Try it online!][TIO-jmkjuj3y] [Java (JDK 10)]: http://jdk.java.net/ [TIO-jmkjuj3y]: https://tio.run/##dVHJTsMwEL33K0Y52SSxkm7QLRLqCQnEodwQB8dxikNiR7ZTUaF@e3BS1kIP42Xemzfz7ILuaFhkL62oaqUtFO5OGitKcrEY/MnljWRWKNmBrKTGwB0VEt4GAHWTloKBsdS6badEBpXD0MZqIbePT0D11uCeCrBW0jQV18tbYezyRlq@5TpJIIdVW4ZJSYzri777rlVVU02t0oT1RyeJZJggz/MlJuyZaoMwqWj9oO7TArEwiSPfu5qMw1l8OR0NI48ImfHX@xwx7HseJppnDeNOIEA0SHGYUD/FGLeLfsB@rpPhLDfWwAqutaZ7Q6jpcNTT4SQZBzAMYISDf9HQwVEAHeksI3KE8SSA2fQMJXblsWsSj7oYd8sE90x8tJArjX456A3MjzY@PwJgszeWV0Q1ltTuWS3qcPDBm4P3oeS0CGWM10fwK3taWsqf@GHQxaF9Bw "Java (JDK 10) – Try It Online" This is a naive Java implementation. Should be much golfable.