DC sorting fixes
Merge branch 'devel'