Track numbers treated as strings in loop?



I was trying to export my list to a txt file. Added a loop like $loop(%track%) but the list was created not as expected. Sorting was done based on string comparison that means 1, 10, 11, 12, 13, 2, 20 etc. instead of 1, 2, 3...10, ...20 you know what I mean. Is this expected behaviour? I could solve this 'problem' by changing the loop to $loop($num(%track%,2)) and so it worked ok.
I think it would be useful when I check a column as Numeric type in the column editor then that column value (tag) is treated as number everywhere even in export. Or maybe it is alread so and I just couldn't figure it.
Could you comment on this?


Yes, all placeholders are treated as strings and this is expected behaviour since you can use workarounds like the $num function to treat it as numerical value.

Best regards,