SortTableCells relies on other functions to do the comparison. The second to last parameter you pass to SortTableCells is a pointer to the function.
From userint.h:
int CVIFUNC SortTableCells (int panel, int control, Rect cellRange, int direction, int keyIndex,
int descending, CellCompareCallbackPtr comparisonFunction,
void *callbackData);
Look at the colview.prj sample project that ships with CVI. It defines a function SortByDate and then tells SortTableCells to call that function. You can create your own comparison function that reads and compares your date format.