|
|
|
|
Here's an example of sorting using a It's basically the same as the previous example, except that it uses a class that implements
In other words, if we want to sort using a non-natural ordering, we must use
a
which outputs: abc DEF ghiYou can see the changes from the previous example highlighted in blue.
|
|
This page was last modified on 02 October, 2007 |