and DN125I have a list with the following values:
DN32
DN100
DN50
DN80
DN125
DN65
I want to sort this list the following way:
DN125
DN100
DN80
DN65
DN50
DN32
I tried using:
list.sort()
list.reverse()
but this resulted in DN100 and DN125 ending up at the end of the list. so how can I sort this the way I want to?
Array.Sortdocumentation.(the right overload will depend on the details of your array which you don't show).