code: public static String[] getAvailableStatusNames() {
      List<String> nameList = new ArrayList<>();
      for (Status status : INSTANCES.values()) {
        nameList.add(status.getName());
      }
      return nameList.toArray(new String[nameList.size()]);
    }
docs: Gets the available status names in ascending order of their
  corresponding status.
  @return the available status names in ascending order of their
  corresponding status.