code: public static String sortOrderToString(JinxConstants.SortOrder sortOrder) {
          if (sortOrder == null) {
              return null;
          }
          return sortOrder.toString().replaceAll("_", "-");
      }
docs: Convert a {@link net.jeremybrooks.jinx.JinxConstants.SortOrder} enum to the equivalent Flickr sort order string.
  
  @param sortOrder sort order to convert.
  @return equivalent Flickr sort order string, or null if the parameter is null.