Re: How do we sort a list?
Re: How do we sort a list?
- Subject: Re: How do we sort a list?
- From: "Bob.Kalbaugh" <email@hidden>
- Date: Wed, 24 Oct 2001 16:27:39 -0500
on 10/24/01 2:35 PM, email@hidden at email@hidden wrote:
>
I have a FaceSpan app with a text window that contains a return-deliminated
>
list of file names. New file names are added to the list in the course of
>
using the application. I would like the option of selecting all the text in
>
the list, resorting the items by name (alphabetical order), and then
>
returning the list to the text box, again with a return between each item
>
(this puts the file names on top of each other in the text box). I think this
>
topic may have been addressed before, but does anyone know how to sort a list
>
of text items alphabetically?
>
Many thanks in advance,
>
Garry Simon
There is a sub-routine titled qSort, authored by Serge Belleudy - d'Espinose
at
http://www.applemods.com/ that sorts lists. I've been checking it out,
and it is very fast. You should give it a whirl and see what you think.
I have a queried Greg at macscripter on the use and terms of AppleMods, but
I'm still waiting to hear back from him. I think they might be open source.
I'm not sure. So, Greg, or Serge, if you are reading this, do you have a
spare moment to respond?
Thank you.
_bob.kalbaugh