fixing desc order query