#include
#include
#include
#include
using namespace std;
int main()
{
vector vectorObject(26);
int i;
for(i = 0; i vectorObject[ i ] = 'A'+i;
cout << "Original ordering of vectorObject:";
for(i = 0; i cout << vectorObject[ i ] << " ";
cout << endl;
sort(vectorObject.begin(), vectorObject.end(), not2(less())); // sort into desceding order
cout << "After sorting vectorObject using not2(less()):";
for(i = 0; i cout << vectorObject[ i ] << " ";
return 0;
}