reverting SortDetails back to previous edit