S
sks
Anyone got any advice on how to get a list of String's to sort 'naturally'.
What I mean is, take this 'sorted' list of 'hard drive capacities':
120GB
160GB
200GB
20GB
250GB
40GB
80GB
Obviously to a human, it would be sorted as such
20GB
40GB
80GB
120GB
160GB
200GB
250GB
What I mean is, take this 'sorted' list of 'hard drive capacities':
120GB
160GB
200GB
20GB
250GB
40GB
80GB
Obviously to a human, it would be sorted as such
20GB
40GB
80GB
120GB
160GB
200GB
250GB