I’ve got an RG that is sorted by the items’s names. This is the list of buildings in the campus. Some times the names of the buildings are proper names. Easy sorting.
Other times the names of the buildings are actually numbers. In this case, when I sort I get:
What are some ideas on how to sort this so it’s:
I was thinking of a few options, but before trying it, I thought I ask the hive-mind . Some of the options I was considering were:
- There’s probably some regex incantation that does this .
- Merge multiple searches where the first search only returns the items where the name is 1 character, the 2nd is with 2 characters, etc…
- there’s a plugin that does this ?
- add a field to my database with the rank which is a number.
What do you guys think?