static L sortedByScoreFunction_withoutZero(Iterable l, IF1 f) { new Map map; fOr (A a : l) { double score = toDouble(f.get(a)); if (score != 0) map.put(a, score); } ret keysSortedByValueDesc(map); }