Mailing List Archive: 49091 messages
  • Home
  • Script library
  • AltME Archive
  • Mailing list
  • Articles Index
  • Site search
 

[REBOL] Re: Sort by first part of line

From: chris:langreiter at: 3-Sep-2002 23:22

> 454 en tw > 395 en th > 313 kai o > ...
Assuming you have that data in a variable creatively named data: result: copy "" foreach [n a b] sort/skip parse data none 3 [ repend result [" " n " " a " " b newline] ] i.e. transform the string into a data structure more appropriate for the sorting endeavours you have in mind. -- Chris