#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 into desceding order
sort(vectorObject.begin(), vectorObject.end(), greater());
cout << "After sorting vectorObject using greater():";
for(i = 0; i cout << vectorObject[ i ] << " ";
return 0;
}