C# Sorting with Linq
csharp\npublic class Solution\n{\n    public int[][] AllCellsDistOrder(int rows, int cols, int rCenter, int cCenter) =>\n    [..\n        from row in Enumerable
```csharp\npublic class Solution\n{\n    public int[][] AllCellsDistOrder(int rows, int cols, int rCenter, int cCenter) =>\n    [..\n        from row in Enumerable.Range(0, rows)\n        from col in Enumerable.Range(0, cols)\n        orderby int.Abs(row - rCenter) + int.Abs(col - cCenter)\n        select new[] { row, col }\n    ];\n}\n```
['Sorting', 'C#']