Did you try to set any sorting on the grids or pages? What order did you expect? Normally you define the sorting in the properties window of the overview pages.
In addition to Ronald,
1. Data order in the data base is not affected on deployment.
2. Sorting the order of your data in your app is done based on set sorting attribute. If not set, the id of object is used (which is out of your control)