Do not sort if D==0