How to sort result set from getRecords

How to sort result set from getRecords

Anybody have a code snippet to show me how to sort the result set from a call to getRecords()

Here's my working function call:

records = zoho.crm.getRecords("Articles_Press",1,100);
return records;

it would be ideal if getRecords could take a CRM View as parameter, and also specify a sort column, and sort order as parameters.