You can enable ares “sorting” in Project Settings > Navigation Mesh > Sort Navigation Areas by Cost. Once enabled the navmesh generator will sort areas to be applied based on their cost making sure the most expensive areas end up on top. Of course this is not always what you want, so you can override the function that does the actual sorting, ARecastNavMesh::SortAreasForGenerator
Cheers,
–mieszko