Bugfixing sorting order of nested groups.
ADPI Output histogram.