I tried this code for the first time in a version 3 viewer. I updated it to match changes between 2 and 3. I confirm that, although no errors are thrown, no sorting is done either. Can whoever has adapted the code successfully please post? Thanks.
Mark