NSArray sorting
Don't forget the little magic in
EOSortOrdering.sortedArrayUsingKeyOrderArray( form.elements(), new NSArray( ERXS.asc( Element.ORDER_KEY ) ) );
In case of personal memory failures...
Don't forget the little magic in
EOSortOrdering.sortedArrayUsingKeyOrderArray( form.elements(), new NSArray( ERXS.asc( Element.ORDER_KEY ) ) );
2 comments:
Or:
EOSortOrdering.sortedArrayUsingKeyOrderArray( array, Element.ORDER.ascs() );
Everthing that has to do with ERXKey is cool ;-)
Post a Comment