Add sign processing for sort order enum.

Description

The SortOrder enum needs to have a sign + or - for representing the sort order, like in JSON API, with static factory methods and a Comparator utility method for setting the sort order to reversed() if appropriate.

Environment

None

Assignee

Garret Wilson

Reporter

Garret Wilson

Labels

None

Components

Fix versions

Priority

Major
Configure