code: public void setSortName(String sortName) {
  
          if (sortName.equals(SORT_NAMES[1])) {
              m_sort = SORT_DATE_CREATED;
          } else if (sortName.equals(SORT_NAMES[2])) {
              m_sort = SORT_DATE_LASTMODIFIED;
          } else if (sortName.equals(SORT_NAMES[3])) {
              m_sort = SORT_TITLE;
          } else {
              m_sort = SORT_DEFAULT;
          }
      }
docs: Sets the internal member of type <code>{@link Sort}</code> according to
  the given sort name. <p>
  
  For a list of valid sort names, please see <code>{@link #SORT_NAMES}</code>.<p>
  
  @param sortName the name of the sort to use
  
  @see #SORT_NAMES