package com.agilex.vamf.missionhealth.domain.comparator;

import com.agilex.vamf.missionhealth.domain.MissionHealthDetail;

import java.util.Comparator;

/**
 * Created with IntelliJ IDEA.
 * User: vguthrie
 * Date: 11/29/13
 * Time: 9:36 AM
 */
public class MissionHealthDetailStandingComparator implements Comparator<MissionHealthDetail> {

    @Override
    public int compare(MissionHealthDetail missionHealthDetail, MissionHealthDetail missionHealthDetail2) {
        return missionHealthDetail.getStanding().compareTo(missionHealthDetail2.getStanding());
    }
}
