I
Ian Richardson
At the moment I'm using a quicksort algorithm to sort a list of
countries in alphabetic order. This worked wonderfully until someone
came up with the Åland Islands... and this is at the end of the list.
I'm not sure it's supposed to be.
Now I could just alter my comparison so it ignores the top bit, but this
would then put it at the top of the list, even before Albania...
Alternatively, should I put Å after A?
In short, is there a preferred way of ordering these?
Thanks,
Ian
countries in alphabetic order. This worked wonderfully until someone
came up with the Åland Islands... and this is at the end of the list.
I'm not sure it's supposed to be.
Now I could just alter my comparison so it ignores the top bit, but this
would then put it at the top of the list, even before Albania...
Alternatively, should I put Å after A?
In short, is there a preferred way of ordering these?
Thanks,
Ian