The SORTING is only usefull for Exporting records.
If you want to import items in order, you need to write them in the textfile in order.
Another way is to import them and write them into a temptable (=a global recordvariable with property Temptable=Yes) in stead of the real table. After having read all the items, you can loop your temptable in the order you want and process your records.
Is your question more of why do my Items appear in this order? If so then I’m guessing you are on a SQL server version and because you have mixed length items numbers the sorting appears weird! This is because SQL will sort the Items in No. order but with everything LEFT aligned. So they may explain it for you if that was your question, if not i have enjoyed wasting 60 seconds of my life on my favorite website
The items are imported in the same order as they are in the file outside Navision. (As Kriki said)
What You show in Your initial post, looks to me (and apparently also to Littleoaks) like the SQL-way to sort Code-fields.
The order that data are presented inside Navision, has no direct connection to the order it was imported.