order asc/desc bug fixed