sort array<entry> float android studio
Collections.sort(Arrays, new Comparator<Object>() {
@Override
public int compare(Object o1, Object o2) {
return Float.compare(o1.getFloatValue(), o2.getFloatValue());
}
});