code: public static SortDirection toSortDirection(Order.Direction direction) {
  		if (direction == Order.Direction.ASC) {
  			return SortDirection.ASCENDING;
  		} else if (direction == Order.Direction.DESC) {
  			return SortDirection.DESCENDING;
  		} else {
  			throw new UnsupportedOperationException("Direction [" + direction
  					+ "] is not supported by Google App Engine Datastore");
  		}
  	}
docs: Translates {@code Order.Direction} to Google App Engine Datastore
  {@code SortDirection}.
  
  @param direction Acid House {@code Order.Direction}.
  @return Google App Engine Datastore {@code SortDirection} translated
  from Acid House {@code Order.Direction}.