On Mon, 24 May 2010 22:51:42 +0100, "Tim Meddick"
<(E-Mail Removed)> wrote:
>You'd think so, wouldn't you....but, unfortunately, not!
I'd never realised this before now, but it will bug me for the rest of
my days. Thanks. :-)
I would have expected that sorting on column A, then on column "B"
would leave the items with equal values in column "B" in the same
order they were in after the sort of column "A", but not so.
This sort of sort is called a "stable sort", as items with equal key
values are not exchanged in the process. Unfortunately, stable sorts
are less efficient that other sorts (presumably *unstable* sorts, but
I've never come across that term).
--
Steve Swift
http://www.swiftys.org.uk/swifty.html
http://www.ringers.org.uk