Update sortByName() utility to allow sorting on multiple fields. This allows sorting on set_id and version_id, which is desirable for versioned sets.
Changed paths: