Simulating the role of tides and sediment characteristics on tidal flat sorting and bedding dynamics