String makeIndexName(String table, List<String> fields) { var ls = fields.sorted(null); return "${table}_${ls.join("_")}"; }