Fixed wrong order date sorting