how to sort CAtlArray using qsort
This is nothing new at all,here is the source code:
CAtlArray< CSomeClass*> m_myArray; qsort(m_myArray.GetData(), m_myArray.GetCount(), sizeof(CSomeClass*), (int(*)(const void*, const void*))SortTheArray);
the Comparison function would look like the following:
