diff --git a/glances/plugins/glances_network.py b/glances/plugins/glances_network.py index 92e01ca1..7f2b56d4 100644 --- a/glances/plugins/glances_network.py +++ b/glances/plugins/glances_network.py @@ -289,7 +289,7 @@ class Plugin(GlancesPlugin): msg = '{:>7}'.format('Tx/s') ret.append(self.curse_add_line(msg)) # Interface list (sorted by name) - for i in sorted(self.stats, key=operator.itemgetter(self.get_key())): + for i in self.sorted_stats('interface_name'): # Do not display interface in down state (issue #765) if ('is_up' in i) and (i['is_up'] is False): continue