@Override
    public int compare(T o1, T o2) {
        if (o1 instanceof Object[]) {
            return innerCompare(ev.evaluate((Object[]) o1), ev.evaluate((Object[]) o2));
        } else {
            return innerCompare(ev.evaluate(o1), ev.evaluate(o2));
        }
    }
{@code MultiComparator} compares arrays

@param <T> element type
@author tiwe
querydsl-collections/src/main/java/com/querydsl/collections/MultiComparator.java