the last condition it displays it in descending order what is the problem?!