Api Sort Ordering String Numbers Incorrectly

The sort method on fields should allow for the sorting of integers as you expect, could you provide the query you’ve used and possibly some code to allow us to further investigate and help?