Sorting the data in a dataset
The ability to sort the data in a column is always required on a dataset and provides a good user experience, but in some cases, based on the user interface, it may not be needed.
In our example code component, we will add a configurable property on the control manifest file that a user can provide to specify on which column they want to implement the sort while configuring the control. The following are the details of the property that will be added to the control manifest file:
ControlManifest.Input.xml
<data-set name="datasetGrid" display-name-key="Data Cards">
</data-set>
<property name="sortColName"
    display-name-key="Column Name to Sort"
    description-key="Column schema name to sort"
    of-type="SingleLine.Text"
    usage="input"
  ...