Thai Sorting (Alphabetical)

Thai Sorting.jpg
[Try it]
2013. Personal. HTML5. jQuery.

Motivation. I've been learning the Thai alphabet (see also Thai Typing) on and off for the past few years. There are 44 consonants (compared with 26 consonants+vowels in the English alphabet), so remembering the order is a bit tricky. I wanted a simple app that I could load up and practice on while at home or out on the road.

Technology. I wanted a drag-and-drop interface, but didn't want to use jQuery UI. Instead, I used the DragSort jQuery plugin. I also used a mobile drag hack to enable drag-and-drop for mobile devices. I also "hacked the hack" to specify the specific target element of the drag-and-drop, otherwise the entire UI would be unscrollable unless dragging.