Cleanse data for sorting
Toggle sort