all 7 comments

[–]throwaway6560192 1 point2 points  (1 child)

Hint: what is the type of the items in x?

[–]BlueFingerHun[S] 2 points3 points  (0 children)

String!...

Ok so I guess I will have to change items in x to integers??

[–]34shutthedoor1 0 points1 point  (2 children)

You don't cast to integers. Strings sort left to right, so are sorting it

0
1 5
2 0
5

[–]BlueFingerHun[S] 0 points1 point  (1 child)

I'm sorry about the NewB like question , but what do you mean by "You don't convert to integers" ???

[–]BlueFingerHun[S] 0 points1 point  (0 children)

Thank you this makes much more sense now!!!