Python solution 70% faster, 76% memory
python\nclass Solution:\n    def allCellsDistOrder(self, rows: int, cols: int, rCenter: int, cCenter: int) -> List[List[int]]:\n        p = [rCenter, cCenter]\n
```python\nclass Solution:\n    def allCellsDistOrder(self, rows: int, cols: int, rCenter: int, cCenter: int) -> List[List[int]]:\n        p = [rCenter, cCenter]\n        dists = [[] for i in range(rows+cols)]\n        \n        def calc_dist(p1, p2):\n            return sum(abs(i - j) for i, j in zip(p1,p2))\n        for r in range(rows):\n            for c in range(cols):\n                dists[calc_dist(p, (r, c))].append([r, c])\n        sorted_dists = [point for points in dists for point in points]\n        return sorted_dists\n```
[]