To sort your input column in the desired order, you have to be aware of the column-type. Your input is a string, and the sorter node treats it as a string.
You have convert your string-column to an integer-column, by using the String to Number node or the Table Manipulator node.
gr. Hans