Not sure if you’ve solved this or not, but if you haven’t.
I’m assuming that using either get_fields() https://www.advancedcustomfields.com/resources/get_fields/ to get all the field values at once. If this is the case then they will be included in the array in the order the fields were created I think. If you want custom ordering of fields and values then you’ll need to get each field in the order that you want it displayed.