Made sorting give result in descending order