One last thing … You might be on a fools errand. I once had used a sort on a column in a grid while in developer mode, and was unable to get rid of it.
I wanted the data to default to being sorted by the BAQ. Nothing would get rid of that Sort that was on the grid. See: