datagrid sort index bug fixed