Refactored and unifid Java API example jobs
Updated JAR packaging of Java example programs
small corrections in refactored examples
ValueComparator uses ascending flag, tests
Add GenericTypeComparator
Created new SortedGrouping to move the group order from the Grouping
Minor changes for SortedGrouping