Hi, Mike
Thanks for your reply.
I use /skip because I thought it is for sectional sorting. in my file, each
record has 4 sections(e.g, 1-Feb-2000 bla bla bla). I just tried without skip,
it gave me the same result though. I guess this is might because of I read it
from a file?
I use the following script and sample file,
file: read/lines %foo.txt
blk: make block! 100
blk: to-block file
file2: sort blk
write/lines %foo2.txt file2
which foo.txt is:
2-Feb-2000 1 2
1-Feb-2000 2 1
6-Feb-2000 3 5
24-Feb-2000 4 6
the result foo2.txt is:
1-Feb-2000 2 1
2-Feb-2000 1 2
24-Feb-2000 4 6
6-Feb-2000 3 5
It can't tell 24-Feb-2000 is larger than 6-Feb-2000. Why is it?