Test Delete by converting the sorting to linq.