SortExt Example for C++ 5.0 and later
void CDemoDlg::OnLoadFromFile()
{
m_RasterImgList1.LoadFromFile("c:\\image1.jpg", 0, 0, -1);
m_RasterImgList1.LoadFromFile ("c:\\image2.jpg", 0, 0, -1);
m_RasterImgList1.LoadFromFile ("c:\\image3.jpg", 0, 0, -1);
m_RasterImgList1.LoadFromFile ("c:\\image4.jpg", 0, 0, -1);
m_RasterImgList1.SortExt(TRUE, FALSE, FALSE, 0);
}