Closes #3427300.
This adds sorting to the facets manager so that facets are loaded in an expected order.