Sorting in Query builder is not working as expected
I have query builder parameter as
path=/content/sample/en
type=cq:Page
orderby=@jcr:content/jcr:title
orderby.sort=asc
p.limit=-1
Now I have two Pages as
/content/sample/en/sample-page (jcr:title -> Sample Page)
/content/sample/en/1-page (jcr:title -> 1 Page)
/content/sample/en/3 (jcr:title -> 3)
/content/sample/en/3-page (jcr:title -> 3 Page)
Ideally I should get numeric at the top but I am getting order as
/content/sample/en/3 (jcr:title -> 3)
/content/sample/en/3-page (jcr:title -> 3 Page)
/content/sample/en/sample-page (jcr:title -> Sample Page)
/content/sample/en/1-page (jcr:title -> 1 Page)
This is incorrect am I doing something wrong here need guidance from the community
