Removed .to_s in table_sort