Sorting on the basis of a given relation
Given N Relations,sort the elements in descending order.
eg N=4

 1. A>B
 2. A>C
 3. B>C
 4. D>A

output:DABC

Given
N<=20 



Sorting on the basis of a given relation
===

Given N Relations,sort the elements in descending order.
eg N=4

 1. A>B
 2. A>C
 3. B>C
 4. D>A

output:DABC

Given
N<=20 


