How to sort by multiple fields in GFAPI::get_entries()
You can’t. It’s not possible in Gravity Forms 2.4. Use the code sample below instead. The third parameter to get_entries() is not designed to accept more than one sort field. Use array_multisort() to sort the array output of get_entries() like…