Zoho CRM integration for dropdown field
I have the following code that works (in the load of a form):
accountlist = zoho.crm.getRecords(("Accounts"),1,200);
for each rowvar in accountlist
{
Client:ui.add(rowvar.get(("Account Name")));
}
My question is how do I sort the Account Name for my dropdown field (Client)?
Thanks