Environment: Changed sort kludge.

Moved sort to updateCanvas to work when viewAngle changes.
Added support back for 'x', 'y', 'z' viewAngle.