boon/src/main/java/org/boon/sort/Sort.java
public void sort( List list ) {
        if ( list == null || list.size() == 0 ) {
            return;
        }

        Object item = list.iterator().next();

        Map<String, FieldAccess> fields = BeanUtils.getFieldsFromObject( item );
        Collections.sort( list, this.comparator( fields ) );
    }
public void sort( List list ) {
        if ( list == null || list.size() == 0 ) {
            return;
        }

        Object item = list.iterator().next();

        Map<String, FieldAccess> fields = BeanUtils.getFieldsFromObject( item );
        Collections.sort( list, this.comparator( fields ) );
    }
public void sort ( List list ) { if ( list == null || list . size ( ) == 0 ) { return ; } Object item = list . iterator ( ) . next ( ) ; Map < String , FieldAccess > fields = BeanUtils . getFieldsFromObject ( item ) ; Collections . sort ( list , this . comparator ( fields ) ) ; }
Sort and you look up the reflection fields.
@param list
Sort and you look up the reflection fields .