int c1 = is1.getCapacity(); int s1 = is1.getSize(); int i1 = c1 - s1; int c2 = is2.getCapacity(); int s2 = is2.getSize(); int i2 = c2 - s2;
int i1 = is1.getCapacityBytes(); int i2 = is2.getCapacityBytes();
      public int compare(Object o1, Object o2) {        InstanceStats is1 = (InstanceStats) o1;        InstanceStats is2 = (InstanceStats) o2;        int c1 = is1.getCapacity();        int s1 = is1.getSize();        int i1 = c1 - s1;        int c2 = is2.getCapacity();        int s2 = is2.getSize();        int i2 = c2 - s2;        return i2 - i1;      }