cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Allow natural sorting for family table instances

Allow natural sorting for family table instances

Currently, family table instances are sorted by ASCII code during the replace function:

INST1

INST10

INST1001

INST2

INST201

Please allow the option to enable a natural sort which would put the instances in numerical order.

INST1

INST2

INST10

INST201

INST1001

3 Comments
mender
Regular Member

You may wish to examine the values for the detail setup option 'sort_method_in_regions', which tackled this problem for repeat regions in drawings, to figure which of the options there are legitimate for sorting instances, so that we don't implement one reasonable alternative but miss implementing another when it would be cheap+easy to do alongside.

Also, may wish to consider the question of whether, this being a UI matter, you would want a single config to govern it, or a more complex implementation where individual generic models having family tables could say what sort method they want, with a default of using a method specified by a config.

TomU
Emerald II
dhermosillo
Aquamarine

Good points.  I can see where the second option would be useful if there were family tables that needed to be sorted differently than the default setting.