I am trying to sort a table column which has the type of String. my issues is when sorting and the value contains a number in the text after 1 comes 10 not 2 how can I solve this issue.
1
10
11
12
13
14
15
16
17
18
19
2
A
Letter coming after numbers in the order is exactly what is needed our only issue is the numbers are not sorting properly.
I tried the following the documentation my case is a little different not sure how to get it working.
I have my class for the table FacilityItem and what I want to sort by is the property position of the property facility_detail so facility_detail.position