I've a custom post type that has a custom filed called deck-number and client wants to sort the result by deck number. FYI, deck numbers are numeric values. So I used query like bellow.
The issue I'm facing is I'm getting result sorting like 1, 10, 11, 12, 2, 3, 4, 5, 6, 7, 8, 9.
I need your advice to solve.