ACF orderby not sorting dates correctly [closed]

What “return format” do you have set in ACF for the date field? Sorting by numbers produces unexpected results when you use “d/m/Y” or “m/d/Y”. If you instead choose “Ymd” as in “20180221” for the return format, you’ll get an integer that’s sortable in the expected way.

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)