List order 1, 2, 3, ... instead of 1, 10, 11,

Goodmorning,

I want to sort a list from 1, 2, 3, … because i want to compare the values belong bij 1,2, 3, … with another list its values.
However if i use SortByFunction with index 0 ten the list is sorted 1, 10, 11, …

thanks Edwin.

@EzDoesIt This happens when you sort strings instead of numbers

You could try something like this …

1 Like

Thank you Vikram,

That works fine, i missed at first the lacing (List.GetitemAtindex).

Thanks Edwin.

1 Like