There are lint checks in fdroiddata that enforce a specific order, to make stuff easier to manage and script. If you get the order wrong the GitLab CI checks will tell you what order to use. If you are trying to do this for an own repo instead of the F-Droid one it doesn’t matter.