It is sorted by the ID of the field (in English) and not by the tag in translated (Spanish)

Ref: https://github.com/espocrm/espocrm/issues/540