How does Federation determine which subgraph resolves a @shareable type?

Just curious, since from playing around, it almost seems like whichever subgraph is first alphabetically gets picked to resolve it.