Allow sorting to be changed for each veiwport
In Octave we use different viewports to draw different plot axes. Since we may have mixed 2D and 3D axes in the same figure, it would be handy to be able to switch the sorting algorithm on a per viewport basis. As far as I can see this is quite easy to implement.
I attached a patch that adds a new function "gl2psSorting" which does nothing but changing the current value of gl2ps-->sort.
Thanks in advance for any feedback.