Home › Forums › General Issues › Sorting by custom fields › Reply To: Sorting by custom fields
ACF stores dates as ‘YYYMMDD’ Sorting on this field as either a number or as text should work.
Even though, as I posted in the original post, I set it as:
Save Format: dd/mm/yy
Does it ignore this setting?
Yes, it does sort by title fine – but I need it to do release date – as I said it is sorting, I know this, but it is not sorting CORRECTLY – it is sorting it alphanumerically instead of chronologically.
I am at a point where i think i will change the data to Save Format YYYYMMDD so that it will sort alphanumerically and win/win but I wanted to figure out if it is a bug or not.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.