I'm trying to order post by custom field "YEAR" doing this query:
unfortunately the order is incorrect. The field is a number field and there are values like 100, 500, 1050.. and so on.
The output is a little bit uncorrect, like:
1050 - 100 - 200 - 900 - 400
I just don't know what could be the problem, so please help me :)