Fixed multi-sort (sorting by value a, then b, then c, etc.).
Added tests of multi-sort.