Preserve the order of multi source fields when exporting a theme (see #5237)