Debug date sorting for search
Debug sort