…d in the comma-separated sortTerm string for attribute-specific ascending/descending
The sortTerm string (which could already accept a comma-separated list of attributes) can now parse '+' and '-' characters (optionally) prepended to each attribute so that the sort can be ascending by some attributes and descending by others.
- The method-level 'ascending' BOOL argument still has effect as the master, making the '+'/'-' flags relative to the master sort order
- The '+' is strictly optional as ascending is the default if no flag is used
- All legacy behavior of these methods is preserved
would return results sorted first by descending golfScore, then ascending lastName, then ascending firstName
If the method-level 'ascending' BOOL were passed as NO then the sort order would be ascending by golfScore, then descending by lastName, then descending by firstName
Signed-off-by: Joel Lenorovitz <joel@mobileXware.com>