int (FontInfo one, FontInfo two) { if (one.isMonospaced() && !two.isMonospaced()) return -1; if (!one.isMonospaced() && two.isMonospaced()) return 1; return one.toString().compareToIgnoreCase(two.toString()); }