I need to find the external identifier with highest value and hence need to sort in descending order .So I need to use sorting feature but unaware of what value should be added in screenshot shown.I tried with 'desc' but it gives an error.
1 Answer
sort option takes the parameter followed by sort_order
in civicrm api.
For eg - the following works fine -
-
I believe it is here docs.civicrm.org/dev/en/latest/api/v3/options/#optionssort for those interested in documentation reading.– yurgSep 26, 2022 at 17:10