public SortOption add ( String attribute , Direction direction ) { sortedAttributes . add ( new SortedAttribute ( attribute , direction ) ) ; return this ; }
Adds the specified attribute to the list of sorted attributes with the specified direction .