I have a GridView:
<asp:GridView ID="gridResults" runat="server" AllowSorting="True" OnSorting="gridResults_Sorting" >
<Columns>
<asp:BoundField DataField="Name" HeaderText="Name" SortExpression="1" />
<asp:BoundField DataField="Category" HeaderText="Category" SortExpression="2" />
</Columns>
< Go to the complete details ...