DC sorting fixes