Implement NumPy-like function torch.msort() (#48440)
Summary:
- Related with https://github.com/pytorch/pytorch/issues/38349
- Implementing the NumPy-like function `torch.msort()` .
Pull Request resolved: https://github.com/pytorch/pytorch/pull/48440
Reviewed By: bdhirsh
Differential Revision: D25265753
Pulled By: mruberry
fbshipit-source-id: 7709ac5e5667e7541a3dc9048b9c9896b1a6dfa1