I would like to save my file as the .geopackage file. Unfortunately, I've noticed that the order of the layers is not correct. It doesn't correspond to the order in the "Layers" panel.
I saw, that the DB manager is required for this purpose:
https://www.reddit.com/r/QGIS/comments/l5r2pa/grouping_layers_inside_geopackage/
or some coding is required:
Reordering layers in GeoPackage and changing the default naming in QGIS?
but is there some other option, which would assure me, that the layers in .geopackage file are in the correct order? It applies also to the situation after saving. When I attended to load the .gpkg file, this order is also different. How can I solve this problem?