I want to sort a list. I try to follow the examples of the dictionnary but I must make something wrong

Here is my code:
Code: Select all
set itemDelimiter to "|" -- each line has 5 items.
get field "lignesDeResultat" -- The first item is any word like "aWord" , "bWord" , "cWord", etc.
sort IT ascending international by item 1 of field "lignesDeResultat"
put IT into fld "lignesDeResultat"
Any idea around ?
Kind regards.