// Change History
// 12/03/03 AV Development: Use RL pointer

#include <windows.h>
//#include <commctrl>

#include "base/at_defs.h"
#include "drs/drs_sort.h"


void DRS_Sort_RecList::Sort( AT_Record_List::Sort_Context  Contexts[], unsigned int iCount, HWND hParent, bool *pIsCancel)
{
//  DRS_Progress prog((byte *)"Sort");
  AT_Record_List * rl = getBase();
  if(!rl)
    return;
  rl->sort( &Contexts[0], iCount, NULL);

  if( pIsCancel)
    //*pIsCancel = prog.IsCancel();
	*pIsCancel = false;
}
