protected static Comparable getComparable(Object object, String property)
{
try
{
if(object instanceof ContentMap){
ContentMap cm = (ContentMap) object;
return (Comparable)cm.get(property);
}
return (Comparable)PropertyUtils.getProperty(object, property);
}
catch (Exception e)
{