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</...
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....
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
sort × 37orderby × 19
channel-entries × 11
matrix × 3
low-search × 3
entries × 3
sorting × 3
ee2 × 2
cartthrob × 2
templates × 2
custom-fields × 2
solspace-calendar × 2
fieldtype × 2
title × 2
expresso-store × 1
categories × 1
solspace × 1
playa × 1
relationships × 1
pixelandtonic × 1
channel × 1
search × 1
grid × 1
url × 1
pagination × 1