Sorting List

Let tmplist(List)
Let newlist(List)

tmplist.Append(tmpLine\Line.1  )
tmplist.Append(tmpLine\Line.2  )
tmplist.Append(tmpLine\Line.3  )
tmplist.Append(tmpLine\Line.4  )

newlist=tmplist.Sort(">","Line","length","y=length(x)")

Sorting\Line_Getitem_1 =newlist->GetItem(1)
Sorting\Line_GetItem_2 =newlist->GetItem(2)