Order By not giving proper order

joshO February 10, 2013

Hello everyone,

I seem to be having issues with order by not giving the proper order. I have a custom field that Has the values High Med Low and when I do Order by "CustomField1" Desc it gives me Med Low High. The reverse gives me High low Med. This ordering seems very odd to me Is there something im missing.

Thank you,

1 answer

1 accepted

0 votes
Answer accepted
Renjith Pillai
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
February 10, 2013

It just means that the ordering is alphabetical. Simple workaround is to add a digit to the custom field options (1. High, 2. Med, 3. Low)

joshO February 10, 2013

I Tride that and it did not help. It is still oredering the exact same way it did before. does everything need to be restarted after a change like that ?

joshO February 11, 2013

I believe I figured out what the issue was. when I changes the values of the drop down it showed the changed values but those values where not what was actually there(e.g. what I changed it to "1. high" and what it rememberd "high"). I found when I updated the issue it began to sort correctly.

Suggest an answer

Log in or Sign up to answer