Previous version assumed the DataFrame being read in was mutable.
This fix removes that assumption by changing the sort! function into sort (so the input argument doesn't get modified).
The tests have also been slightly modified to deal with immutable DataFrames.
Previous version assumed the DataFrame being read in was mutable. This fix removes that assumption by changing the
sort!
function intosort
(so the input argument doesn't get modified).The tests have also been slightly modified to deal with immutable DataFrames.