archimatetool / archi

Archi: ArchiMate Modelling Tool
https://www.archimatetool.com
MIT License
927 stars 267 forks source link

Feature request: Numeric sorting of views #815

Closed heikkil closed 2 years ago

heikkil commented 2 years ago

My main way of keeping track of views of a model is the Models pane where they are located in the Views folder. It is possible to create further subfolder to organise the views, but within a folder they are automatically ordered alphabetically. I influence the order by using numbers in the view names, e.g. 1, 2, 2.1, 2.2, 3,... . This ordering breaks down when number 10 is added.

Would it be possible to have an option of having numeric sorting of views?

Of course, I could use numbers with zeros in from, but that looks weird.

Phillipus commented 2 years ago

I looked at some Java alphanumeric comparator algorithms and they all seemed overly-complicated.