boon/src/main/java/org/boon/sort/Sort.java
public <T> void sort( T[] array ) {
        if ( array == null || array.length == 0 ) {
            return;
        }

        Object item = array[0];

        Map<String, FieldAccess> fields = BeanUtils.getFieldsFromObject( item );
        Arrays.sort( array, this.comparator( fields ) );
    }
public <T> void sort( T[] array ) {
        if ( array == null || array.length == 0 ) {
            return;
        }

        Object item = array[0];

        Map<String, FieldAccess> fields = BeanUtils.getFieldsFromObject( item );
        Arrays.sort( array, this.comparator( fields ) );
    }
public < T > void sort ( T [ ] array ) { if ( array == null || array . length == 0 ) { return ; } Object item = array [ 0 ] ; Map < String , FieldAccess > fields = BeanUtils . getFieldsFromObject ( item ) ; Arrays . sort ( array , this . comparator ( fields ) ) ; }
Sort and you look up the reflection fields.
@param array
Sort and you look up the reflection fields .