Fix the sorting of the tree to go A -> Z.
Added cursor iteration documentation.