@Override public int compare(EntityStats o1, EntityStats o2) { if (o1.getSPD() >= o2.getSPD()) return 1; else return 0; }