DVC: Simplify sorting key setting