code: public void setPreferredOrder(final Collection<Class<? extends Saga>> preferredOrder) {
          checkNotNull(preferredOrder, "Preferred order list may not be null. Empty is allowed.");
  
          cacheLoader.setPreferredOrder(preferredOrder);
          sagasForMessageType.invalidateAll();
      }
docs: Sets the handlers that should be executed first.