public int compare(Glyph o1, Glyph o2) { return o2.getWeight() -  o1.getWeight();
public int compare(Stick o1, Stick o2) { return o1.getContourBox().x -  o2.getContourBox().x;
                             public int compare(Glyph o1,                                                Glyph o2) {                                 return o2.getWeight()                                     -  o1.getWeight();                             }