refactor column sorting to use private method sort_order
--amend