bug fixed for Desc & Asc