Dylan Smith : richedit: Added function to get selection cursors in order.