Use OrderByDescending().ThenByDescending()
ProprietaryReplace .OrderByDescending(a).OrderByDescending(b) with .OrderByDescending(a).ThenByDescending(b).
OpenRewrite. Recipes. CSharp. CodeQuality. Linq. UseOrderByDescendingThenByDescendingmod run . --recipe= OpenRewrite. Recipes. CSharp. CodeQuality. Linq. UseOrderByDescendingThenByDescendingInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.