I am not a big fan of one-liner, but this is hard to refrain...
\nclass Solution:\n    def allCellsDistOrder(self, rows: int, cols: int, rCenter: int, cCenter: int) -> List[List[int]]:\n        return sorted([[x,y] for x in 
```\nclass Solution:\n    def allCellsDistOrder(self, rows: int, cols: int, rCenter: int, cCenter: int) -> List[List[int]]:\n        return sorted([[x,y] for x in range(rows) for y in range(cols)], key = lambda x: abs(x[0] - rCenter) + abs(x[1] - cCenter))\n```
[]