Sort In Expression Not Working

Hi.
I have to sort the response based on one of the fields. The data is being fetched from API.
I have created a server API action and a server connect to use it.
In my repeater, I have set the expression to server connect and added sort data formatter.

image
scLP.data.api1.data.LP.sort(Order)

The field Order contains numbers (1,2,3…) and is received as string from API. I even tried by making the API send numeric value, but its not working.
Please help.

Community Page
Last updated: