builtin ivalues sort (#19572)
Summary:
Add sorting to all the lists which we specialize on (Tensor, int, float, bool).
First part of https://github.com/pytorch/pytorch/issues/19372
Pull Request resolved: https://github.com/pytorch/pytorch/pull/19572
Differential Revision: D15052677
Pulled By: eellison
fbshipit-source-id: 301e8e0e3e29e04aca1311410db0a474fd833cff