You have to add just OrderRule in your Code for Original Sorting or by using the "Value" column such as:

x.addOrderRule("Label"); //for original sorting


x.addOrderRule("Value"); //for sorting using the column "Value"

You can also sort in Descending order by setting true in the coding such as:

x.addOrderRule("Value",true); // for sorting in descending order

Related Query

More Query from same tag