relations_for_relation_type should be ordered by position
Merge branch 'pull-request-ordered-relations'