Thank you for the prompt reply but doing custom sorts only gives you the column name and no data so would still need to go through the array, but I have been taking apart the data grid script and am getting a solution that I will share once I get the hiliting of the headers working..