IsSorted
bool IsSorted(const _PointerList_& list, int32 n);
bool IsSorted(const _PointerList_& list) { return IsSorted(list, list.CountItems()); }
bool IsHSorted(const _PointerList_& list) { return IsSorted(list, list.CountItems() - 1); }
CPPUNIT_ASSERT(IsSorted(list));
CPPUNIT_ASSERT(IsSorted(list));
CPPUNIT_ASSERT(IsSorted(list));
CPPUNIT_ASSERT(IsSorted(list));
CPPUNIT_ASSERT(IsSorted(list));