Fixed the ordering of custom field exports


We resolved an issue with the order of custom fields in exports. When exporting custom fields, it was previously expected that they would be ordered by their position within the control panel, however, when an export was made with custom fields, we discovered this ordering was not being taken into account. Now, the custom fields position in exports will match their original ordering within the control panel.