Revert "Revert D31227448: [pytorch][PR] fixing sorting in stride indices" (#66176)
Summary:
enabling https://github.com/pytorch/pytorch/issues/63940
Pull Request resolved: https://github.com/pytorch/pytorch/pull/66176
Reviewed By: ngimel
Differential Revision: D31423920
Pulled By: dzhulgakov
fbshipit-source-id: 06b1e0f757f4fb5b31ee1fa464bcd689df919b9c