docs: @Override
      public int compareTo(HealthStatus o) {
          if (operational != null && o.operational != null) {
              return operational.compareTo(o.operational) * -1;
          } else if (operational != null) {
              return operational == Boolean.TRUE ? -1 : 1;
          } else if (o.operational != null) {
              return o.operational == Boolean.TRUE ? 1 : -1;
          } else {
              if (severity != null && o.severity != null) {
                  return severity.compareTo(o.severity);
              } else if (severity != null) {
                  return 1;
              } else if (o.severity != null) {
                  return -1;
              } else {
                  return 0;
              }
          }
      }