I have this data:
[{\"id\":\"42\",\"firstname\":\"Sarah\",\"lastname\":\"Dilby\",\"age\":\"40\",\"cars\":\"Yaris\"},
{\"firstname\":\"Jason\",\"lastname\":\"
if your orderBy value is not a variable pointing to another string but rather the attribute by which you'll be sorting, you must put it in quotes.
person in people | orderBy:'-id'
If, after you've parsed your int or float and are still not sorting correctly, it might be because of this. <:/ (that's my dunce cap)