doSort(kindName, "longProp", Long.MAX_VALUE, Query.SortDirection.DESCENDING);
doSort(kindName, "doubleProp", new Double("123.123"), Query.SortDirection.ASCENDING);
doSort(kindName, "doubleProp", new Double("987.987"), Query.SortDirection.DESCENDING);
doSort(kindName, "shortProp", new Integer(Short.MIN_VALUE), Query.SortDirection.ASCENDING);
doSort(kindName, "shortProp", new Integer(Short.MAX_VALUE), Query.SortDirection.DESCENDING);
doSort(kindName, "ratingProp", new Rating(11), Query.SortDirection.ASCENDING);
doSort(kindName, "ratingProp", new Rating(99), Query.SortDirection.DESCENDING);
}