Fix table sorting with ?F key
commit13711d45836c6d7618184ed76e1bdd94a8c8087e
authorNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 20 Dec 2014 20:29:51 +0000 (20 21:29 +0100)
committerNicolas Goaziou <mail@nicolasgoaziou.fr>
Sat, 20 Dec 2014 20:29:51 +0000 (20 21:29 +0100)
tree6e2113bbe7031918480aad606e9c065f71beb0c1
parent71b098702c82116ae1e8a64ae7b28d7a1d173f23
Fix table sorting with ?F key

* lisp/org.el (org-do-sort): Properly reverse results when ?F and
  a compare function is provided.  Small refactoring.

* testing/lisp/test-org-table.el (test-org-table/sort-lines): New
  test.
lisp/org.el
testing/lisp/test-org-table.el