@Override
  public int compareTo(MediaElement o)
  {
    final int compareTo = this.name.compareTo(o.getName());

    if (this != o && compareTo == 0)
      return this.name.compareTo(o.getName());
    else
      return compareTo;
  }