[racket] complex sort or how to sort lines

From: Don Green (infodeveloperdon at gmail.com)
Date: Fri May 25 12:16:31 EDT 2012

Given the output of Racket's read-words/line function, which produces a
list of lists. Each word is in a list, each group of words on a line is in
a list, all within a list.

Any ideas on how to sort on the car (first element) of each list that
corresponds to a line?

In other words, I want to sort lines based on the first word on a line.  I
want to keep the lines intact.
Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.racket-lang.org/users/archive/attachments/20120525/b31bb28d/attachment.html>

Posted on the users mailing list.