Towards a phylogenetic analysis of galaxy evolution: a case study with the dwarf galaxies of the Local Group