Sort list alphanumerically with List.Sort

Hi, I am hoping that this is an easy fix, but I am trying to sort a list I have where there are values with a letter in front of a number, but when I use List.Sort, the list takes any value that has a 1 after the letter i.e. 10 and puts it before 2 and 3.

What you’re looking for is called natural sorting. There are a few packages with custom nodes that do this (Orchid and GeniusLoci come to mind) or you can search the forum for a few suggestions on how to build something yourself.

2 Likes