Skip to main content
Share Your Experience: Take the 2024 Developer Survey
1 vote

How can I sort entries by ascending integers?

I cannot replicate your results. Created a new channel "test" with a single field "counter" set to Text with field entry set to "integer". Built template with this code: <h1>Sorting Test</...
JCOGS Design's user avatar
  • 3,585
1 vote

How can I sort entries by ascending integers?

I think the Custom field sort_order may have value in string format. That's why it is not working.You need to convert it into integer format then try with it. You can convert it by making small pi....
Harsh Barach's user avatar
1 vote
Accepted

Order by two fields with Low Search

Yes, by using separate orderby and sort parameters, eg: {low_search:url orderby="foo|bar" sort="asc|desc"}
Low's user avatar
  • 11.3k

Only top scored, non community-wiki answers of a minimum length are eligible