Oops. Good catch. Thank you for pointing that out. Fixed. On 04/05/2016 04:46 PM, Gianluigi wrote: > Lee look what you made a mistake: > (no TableView1 but GridView1) > ValueSorted.Sort(IIf(GridView1.Columns.Ascending, gb.Ascent, gb.Descent)) > > Ciao > Gianluigi -- Lee __________ "Artificial Intelligence is no match for natural stupidity."