Hello there,

I have a table with two columns, date and time. I am using the following code to sort in descending date order.

VB Code:
  1. If historydataGrid.Rows.Count > 0 Then
  2.             'if there are rows, sort by date (most recent first)
  3.             historydataGrid.Sort(historydataGrid.Columns(0), System.ComponentModel.ListSortDirection.Descending)
  4.         End If

Where Columns(0) is the Date. However, how difficult is it for me to then sort secondarily by time. So that the grid will sort by most recent date and time.. Working down from the most recent time on the most recent date, and then moving backwards towards the oldest date with the oldest time.

Cheers!