: "field" - name of the standard/custom field to sort records by
: "direction" - either "asc" (for ascending) or "desc" (for descending)
* getstorevalue - this is an optional settings for the json array. Options are: int type: '''0 = no (''' - to get display value), '''1 = yes (''' to get stored value(value from the database)* renderfieldname - this is an optional settings for the json array. Options are: '''0''' - to use what is configured in the Field List form the SmartConnect Function, '''1''' - to use the custom field names and '''2''' - to use the custom field ID
====Report Permission using API Report Function====