C#C
C#12mo ago
.tree

Sorthing house numbers of type string

Say you have a string property for house numbers (1, 98, 24b) and want to sort them. How can you sort them by number as well as by letter? If I just sort them with OrderBy I get 1, 138, 24 which isn't correct.
Was this page helpful?