enter image description here 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 1


sort option takes the parameter followed by sort_order in civicrm api.

For eg - the following works fine -

enter image description here


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.