I have a field (single line of text) with some values
using this query below
var RestUrl = _spPageContextInfo.webAbsoluteUrl + "/_api/Web/Lists/GetByTitle('Books')/items?$top=6&$select=Title,Number&$orderby=Number asc&$filter=startswith(Number,'" + Num + "')";
I get this output 6.0, 6.11, 6.11.1, 6.2.1.1, 6.2.1.2, 6.2.1.3 but what i want is :- 6.0 6.2.1.1, 6.2.1.2, 6.2.1.3 6.11, 6.11.1, Any ideas i can achieve this if the field is not a number?