Issue #2711697 by borisson_, StryKaizer, claudiu.cristea, marthinal: Facet calculations are in the wrong order