Exporting to HDF format Change Band Arrangment

Hi Everyone,

I am trying to export .dim file that contain coregisted stack (37 images). After exporting to HDF format, the band arrangement change. As shown in figures below:

Original Band Arragnment:

Band Arragment After Exporting to HDF Format

Any idea how I can keep the original band arragment?