I need to sort a list of units that may or may not contain a number.
For example ["unit 1", "unit 2", ..., "unit 11"].
Most sorting function will order this: unit 1, unit 11, unit 2..
But I may also have the case that doesn't have a number. ["apt A", "apt B", ..., "apt Z"].
Are there any clever solutions that would sort this correctly:
unit 1, unit 2, ..., unit 11.
apt A, apt B, ..., apt Z.