Max and min on string fields

Hi,

Is there a way to do max/min agg on a string field?

Thanks!