There is a need to preserve the order of the attributes inside the array just like how we preserve the order of values.
Preserving the order is needed for visualization and when we import and export the columns back and forth. Ideally, there is no need for this order as long as we have the attribute name that goes with each column. But Hydra does not have attribute names in the array which makes the import and export out of it tricky.