<script type="text/javascript">
$(document).ready(function () {
$('#gridi').dataTable({
"responsive": true,
"bPaginate": false,
"bLengthChange": false,
"bFilter": true,
"bSort": true,
"bInfo": false,
"aaSorting": [[0, "desc"]]
});
});
</script>
////////////////////////////////////
<tr>
<td data-sort='<%#Eval("CDate","{0:yyyy.MM.dd}") %>'><%#Eval("CDate") %></td>
<td><%#Eval("IDate","{0:dd.MM.yyyy}") %></td>