Sorting based on header in oj Tables in VBCS
I am fetching data using a rest api with the help of SDP and populating that data into a oj table.
My table have three columns Name, age and Designation.
I want to sort the data in table in ascending or descending order when clicked on headers either name, age or designation.
Can some one please help me if this is possible. if yes, how can we achieve this.