Added helpers for (1) reading text files line by line, (2) reading and parsing CSV files line by line and (3) saving CSV files line by line.
Added sort to sparse vector (returns permutation vector). Improved the performance of put in sparse vector.
Sparse vector sort bug fix.