Channel competition in tidal flats