Home › Forums › Add-ons › Repeater Field › Sort by key in repeater field › Reply To: Sort by key in repeater field
I can’t tell you how to do this in twig/timber. There have been a few questions here about this template system, and they get few responses. The best that I can give you is a link to the developer’s “How To” on sorting repeater fields https://www.advancedcustomfields.com/resources/how-to-sorting-a-repeater-field/
You can find other examples on the web that cover it, but like I said, I can’t tell you how you’d do this inside of your template. You would need to build a custom acf/load_value filter in PHP.
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 Privacy Policy. If you continue to use this site, you consent to our use of cookies.