Could you please share a bit more about your issue?
Do you mean that when you change the visibility of a Data card within the Edit form, the Data card would be moved to the bottom of the fields list?
I have made a test on my side, and don't have the issue that you mentioned. Please check the attached GIF screenshot for more details:
Please take a try to turn off/disable the "Improved app rendering (final validation)" option within Advanced settings of App settings of your app, then re-publish your app, check if the issue is solved.
In addition, please consider take a try to re-create a new app based on your data source, check if the issue still exists.
If the issue still exists, please consider submit an assisted support ticket through the following link: