Actually, I was able to solve the issue by writing a custom class DisplayValueDataComparer : IComparer.
The following method had to be overridden
int IComparer.Compare(object x, object y)
Instead of passing the x, y values, the description for the same was passed,
Imported from legacy forums. Posted by Varun (had 788 views)