<div dir="ltr">I was wondering if we could change the sorting to be "numeric" aware instead of just alphabetical.<div><br></div><div>Specifically if you have more than 10 units you get:</div><div><div><font face="monospace, monospace">[Units]    </font></div><div><font face="monospace, monospace">ID         STATE   VERSION MACHINE PORTS PUBLIC-ADDRESS                                     </font></div><div><font face="monospace, monospace">ubuntu/0   started 1.18.4  1             ec2-54-220-86-118.eu-we...</font></div><div><font face="monospace, monospace">ubuntu/1   started 1.18.4  2             ec2-54-155-143-100.eu-w...</font></div><div><font face="monospace, monospace">ubuntu/10  started 1.18.4  1             ec2-54-220-86-118.eu-we...</font></div><div><font face="monospace, monospace">ubuntu/100 started 1.18.4  1             ec2-54-220-86-118.eu-we...</font></div><div><font face="monospace, monospace">ubuntu/101 started 1.18.4  2             ec2-54-155-143-100.eu-w...</font></div><div><font face="monospace, monospace">ubuntu/102 started 1.18.4  3             ec2-54-74-157-229.eu-we...</font></div><div><font face="monospace, monospace">ubuntu/103 started 1.18.4  4             ec2-54-220-194-242.eu-w...</font></div><div><font face="monospace, monospace">ubuntu/104 started 1.18.4  5             ec2-54-246-53-159.eu-we...</font></div><div><font face="monospace, monospace">ubuntu/11  started 1.18.4  2             ec2-54-155-143-100.eu-w...</font></div></div><div><font face="monospace, monospace">...</font></div><div><br></div><div>Which is not ideal IMO. Since we *know* that units are in the form SERVICE/NUMBER can we do numerical sorting on the second part of the field?</div><div><br></div><div>Martin Pool wrote a really nice natural order string comparison utility which we could borrow:</div><div><a href="http://sourcefrog.net/projects/natsort/">http://sourcefrog.net/projects/natsort/</a><br></div><div><br></div><div>John</div><div>=:-><br></div></div>