[REBOL] Sort by first part of line
From: louisaturk:coxinet at: 3-Sep-2002 15:26
Hi fellow rebols,
I still don't quite understand sort. How do I sort the following lines by
the numbers only (not by the letters and not by the length). Note that
there is a space before each number in the test data below.
Thanks,
Louis
454 en tw
395 en th
313 kai o
175 oi de
314 eij thn
174 eij ton
124 kai ouk
123 kai thn
219 ek tou
160 kai en
142 kai to
126 tw qew
166 kai h
096 ei de
094 ou mh
091 ei mh
120 thj ghj
120 en toij
112 estin o
108 en taij
118 o kurioj
096 proj ton
088 kai touj
082 kai idou
115 kai ta
111 o uioj
111 de kai
103 ek twn
114 eipen autoij
104 tou anqrwpou
071 legei autoij
063 twn ioudaiwn
105 proj auton
092 oi maqhtai
082 legei autw
078 eipen autw
103 ek thj
090 ina mh
086 autw o
084 ou gar
101 apo tou