code: private List<UpdateLifecycle> getUpdateLifecycles()
      {
          final List<UpdateLifecycle> ret = new ArrayList<>();
          for (final UpdateLifecycle cycle : UpdateLifecycle.values()) {
              ret.add(cycle);
          }
          Collections.sort(ret, (_cycle1, _cycle2) -> _cycle1.getOrder().compareTo(_cycle2.getOrder()));
          return ret;
      }
docs: Method to get all UpdateLifecycle in an ordered List.
  @return ordered List of all UpdateLifecycle