Finalized columnsort. Still need comments