Default sorting on ADF table

We will have a requirement as when a page is getting loaded, the data ADF table should sort by some columns by default.

solution:

Add the below code to in the Iterator Binding of the page definition file.

<sortCriteria>

<sort attribute=”country” ascending=”true”/>

</sortCriteria>

Note: You can add multiple sort attributes inside the <sortCriteria>