package de.ivu.elect.business.gruppe.control;

import java.io.Serializable;
import java.util.Comparator;

import de.ivu.elect.business.gruppe.entity.Gruppe;

/**
 *  on 19.05.2015.
 */
public class GruppeByRelativerPositionComparator implements Comparator<Gruppe>, Serializable {

  @Override
  public int compare(Gruppe o1, Gruppe o2) {
    return o1.getRelativePosition().compareTo(o2.getRelativePosition());
  }

}
