Tone Marks and ◌็ are only considered if two words are otherwise identical i.e. they only differ in tone marks. In other words, in sequence they are considered last. The order is:
So, the following words sort in the order shown
เซน | 213 |
เซ็น | 4 213 |
เซ่น | 4 213 |
If words differ in their tone marks in two places, only the first difference is considered. So, for example consider the following two words:
กวยจั๊บ | 7 5 12346 |
ก๊วยจับ | 7 5 12346 |
The first difference is at character 2, being ว and ◌๊ respectively. Consonants all sort before tonemarks, so the order is กวยจั๊บ then ก๊วยจับ. Words like this are exceedingly rare