We use Liquibase, and now in new project we must use Flyway. In liquibase migrations order is in xml file, so you specify what migration are first and what are second, it do not depends on names.
So, when some developer add new migration, if before that someone else pushed a new migration he would get a conflict in Git, and it must fix ordering.
How this is done in Flyway? How to control order if migrations are added in parallel?