This function will sort specified table with values from specified fields.



Function arguments

  • tableName – (String) Table name
  • fieldName – (String) [Optional] Name of the field to sort by. Any number of fields can be passed.

Return value

This function returns Boolean.
This function returns true if any rows changes its index, otherwise returns false


Example 1:
Sort Orders table by values in Type column


Example 2:
Sort Orders table by values in Type and Symbol columns.

Was this article helpful?
0.5 out Of 5 Stars
5 Stars 0%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 100%
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.