public void Sort() { Files = Files.OrderBy(x => x.NuspecTargetPath, new OrdinalIgnoreCaseComparer()).ToList(); New = New.OrderBy(x => x.NuspecTargetPath, new OrdinalIgnoreCaseComparer()).ToList(); Modified = Modified.OrderBy(x => x.NuspecTargetPath, new OrdinalIgnoreCaseComparer()).ToList(); Unmodified = Unmodified.OrderBy(x => x, new OrdinalIgnoreCaseComparer()).ToList(); Deleted = Deleted.OrderBy(x => x, new OrdinalIgnoreCaseComparer()).ToList(); }