fixed error in values dor desc sort