swapping table view cells saves the result ordering into the core data