In each group, places with an English name come before those whose name we spelled out from Thai. Within each of those, the places nearest its landmark (Railay Beach) come first.
So a nearer place can sit lower in the list. Distances are straight lines on OpenStreetMap data, not walking routes.