AdvStringGrid sort

Good morning,

j need to sort my grid according with the value stored in 2 columns, col 1 and col 2.

In col 1 is stored the articke code, in col 2 is stored the article name.



Now j sort the grid with AdvSG.quicksort accordin with the article name with this result



034463113 Test 9

029111097 Test 10 FSIR 8000

029111109 Test10 FSIR 10000

029111097 Test
10 FSIR 8000 ABC



But what j need is

034463113 Test 9

029111097 Test 10 FSIR 8000

029111097 Test10 FSIR 8000 ABC

029111109 Test
10 FSIR 10000



So, Column 1 alphabetical order AND column 2 code orde.



There's a way to do this ??



Thank's in advance



Best regard



Daniele



Found ....



Grid.SortIndexes, the problem j have is the article description ...



thank's



Daniele