Fixed warnings for Dcmsort.