code: @Override
    public int compareTo(Trigger other) {
  
      if (other.getName() == null && getName() == null) {
        return 0;
      }
      if (other.getName() == null) {
        return -1;
      }
      if (getName() == null) {
        return 1;
      }
  
      return getName().compareTo(other.getName());
    }
docs: Compare the next fire time of this <code>Trigger</code> to that of another by comparing their
  keys, or in other words, sorts them according to the natural (i.e. alphabetical) order of their
  keys.