Sort by ASC/DESC and search fix date