I have a container of aliases I would like to alphabetize, and then have new aliases ‘arrive’ in the container in their alphabetized location. (I tried to do this manually but the aliases wouldn’t ‘listen’.) Is this possible?
Yes!
-
Select the agent, and open the Inspector
-
Switch to the Actions Inspector
-
Select the Sort pane
-
Sort on Name
An agent, by default normally generates aliases in their outline order ($OultineOrder value, ascending). But this doesn’t always happen. However, if you want the the contents of the agent, i.e. its child aliases to sort on the A–Z values of the $name (title) or the aliases original note, then you want to use the agent’s sort feature.
this is most easily interacted with via the the Sort Inspector (actually the Sort (sub-tab) of the action Inspector). Now:
- open the Sort inspector.
- ensure the agent (container) is selected. If using map view:
- don’t use a map at root level†.
- select the agent in the parent map to the one showing the agent’s contents. If in the latter press ↑ key to move to the parent map, and select the agent container there.
- the Inspector should show the title ($Name) of the selected item, i.e. the agent’s. Check rthis is correct before proceeding. If not, re-visit the steps above.
- on the Sort Inspector, in the upper search box under the first set of pop-ups, type ‘name’ and press the Return key. This should auto-set 'Name (i.e. $Name) in the Sort By pop-up menu above the search box.
- Your agent now auto-sorts contents in A-Z order.
†. Setting the sort ($Sort) for the root level is essentially setting the default $Sort for all containers, likely not your intent)
Thank you! ![]()
1 Like