We can leverage ConfigEntity::sort() rather than having to have a separate variantSortHelper() on the Page entity.
yanniboi created an issue. See original summary.
On second thought, I think this should be fixed as part of #2692397: Adding/removing variants leaves Page::$variants out of date.
Have merged this suggestion into #2692397-6: Adding/removing variants leaves Page::$variants out of date.
Removing tag/parent to remove noise.
Comments
Comment #2
yanniboi commentedOn second thought, I think this should be fixed as part of #2692397: Adding/removing variants leaves Page::$variants out of date.
Comment #3
andrewbelcher commentedHave merged this suggestion into #2692397-6: Adding/removing variants leaves Page::$variants out of date.
Comment #4
andrewbelcher commentedRemoving tag/parent to remove noise.