modified user arrangement to now sort by any given column of data. Check make_header for hints on what these columns are