Preserve the order from front matter, which would be behaviour when doing this manually (before GetTerms). Fixes #7213