SortExt example for C++ Builder

void __fastcall TForm1::btnSortExtClick(TObject *Sender)
{
   LEADImgList1->SortExt(true, true, false, 0);
}