ns for fx: return results in execution order (#61360)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/61360
By default, NS graph matching matches from the end of the graph
to the start. This PR reverses the returned results so that
the outputs of the NS APIs are in the order of execution, making
it easier to analyze.
Test Plan:
```
python test/test_quantization.py TestFXGraphMatcher.test_results_order
```
Imported from OSS
Reviewed By: hx89
Differential Revision: D29600348
fbshipit-source-id: c9fa4a3748db27c1788eebf803f35221e6fc8701