The template seems to put first those terms that have been defined with "affix" and only then start listing the ones created with "prefix". I don't know whether this is an intentional feature.