How can I sort the following buffer data by the second field (author's name) or third field (published date)? I'd like a pure elisp solution, so I'd rather not have a solution that used M-|.
Tom Sawyer|Mark Twain|1876 Harry Potter and the Philosopher's Stone|JK Rowling|1997 Harry Potter and the Half-Blood Prince|JK Rowling|2009 The Da Vinci Code|Dan Brown|2003 A Short History of Nearly Everything|Bill Bryson|2003