code: private void initializeSortOrderMap() {
          try {
              Document document = createDocumentFromDefaultSortOrderFile();
              addElementsToSortOrderMap(document.getRootElement(), SORT_ORDER_BASE);
          } catch (IOException | JDOMException e) {
              throw new FailureException(e.getMessage(), e);
          }
      }
docs: Creates sort order map from chosen sort order.