Re: Phix:Sort Columns Not Working Like Expected
- Posted by euphoric (admin) Jun 24, 2020
- 1838 views
_tom said...
sequence table = { {3, "cat"}, {5, "chipmunk"}, {5, "zebu"}, {9, "geese"}, {1, "dog"}, $} -- first column ? sort_columns( table, {1} )
So, my first error is expecting it to sort a different sequence format.
I had the table columns in separate rows:
sequence table = { {3,5,5,9,1}, {"cat","chipmunk","zebu","geese","dog"} }
So, I was using it wrong.
Now, let's see what Pete says!