Hi folks
Am I just not seeing it? Is there a pd-way to sort a list alphabetically?
cheers dafydd
I think some people recently posted various versions of [list-sort],
try searching for that.
.hc
On Dec 11, 2008, at 7:19 PM, Dafydd Hughes wrote:
Hi folks
Am I just not seeing it? Is there a pd-way to sort a list
alphabetically?cheers dafydd
-- www.sideshowmedia.ca skype: chickeninthegrass
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
As we enjoy great advantages from inventions of others, we should be
glad of an opportunity to serve others by any invention of ours; and
this we should do freely and generously. - Benjamin Franklin
Hallo, Dafydd Hughes hat gesagt: // Dafydd Hughes wrote:
Am I just not seeing it? Is there a pd-way to sort a list alphabetically?
You can sort letters by mapping them to numbers (with a chain of [select]s for example) then sort the numbers using one of the various list-sort objects posted recently. For sorting whole words, I'd recommend to write a little external or a pdlua object (with pdlua it would be trivial.)
Frank
On Thu, 2008-12-11 at 19:19 -0500, Dafydd Hughes wrote:
Hi folks
Am I just not seeing it? Is there a pd-way to sort a list alphabetically?
If you don't mind using externals, you could do this with [regex] from zexy. You could iterate over your list for each letter in the alphabet, and if a match is found append the symbol to a new list.
Jamie