Solution in Python 3 (one line) (beats ~90%)
```\nclass Solution:\n    def allCellsDistOrder(self, R: int, C: int, r: int, c: int) -> List[List[int]]:\n    \treturn sorted([[i,j] for i in range(R) for j in
```\nclass Solution:\n    def allCellsDistOrder(self, R: int, C: int, r: int, c: int) -> List[List[int]]:\n    \treturn sorted([[i,j] for i in range(R) for j in range(C)], key = lambda y: abs(y[0]-r)+abs(y[1]-c))\n\t\t\n\t\t\n- Junaid Mansuri\n(LeetCode ID)@hotmail.com
['Python', 'Python3']