Trouble trying to sort a list

Probably it’s an easy catch, but I’m stuck in this situation.
My database has name, skill, position and goals. And I’m trying to repeat with a container sorted by goals, but It keeps sorting It wrong, like It was a string instead of a number value.
It returns 5 > 10 for example, If I type 05 It goes right, but I know It’s not The corrert way…
Can anyone help?

If your data type is a string, 10 will come before 5.
You can try this
ORDER(data, NUMBER(item.goals))