Grouping complex systems: a weighted network comparative analysis