Re-enable JIT test `test_class_sorting` (#37140)
Summary:
Closes gh-36902
Pull Request resolved: https://github.com/pytorch/pytorch/pull/37140
Differential Revision: D21202738
Pulled By: ezyang
fbshipit-source-id: ff05384b8c0f625ed1aaaa82628af13d5496788b