diff --git a/lib/refrepo/input_loader.rb b/lib/refrepo/input_loader.rb
index 4e28bd929d473941ad39e4e375cbf4e0dd3d06e9..ff94511b7d9b5aaa5ae8c0cd924b27c7705cd7b8 100644
--- a/lib/refrepo/input_loader.rb
+++ b/lib/refrepo/input_loader.rb
@@ -238,7 +238,7 @@ def add_network_metrics(h)
       cluster['metrics'] = cluster.fetch('metrics', []).reject {|m| m['name'] =~ /network_.*_bytes_total/}
 
       # for each interface of a cluster's node
-      node_uid, node = cluster['nodes'].select { |k, v| v['status'] != 'retired' }.first
+      node_uid, node = cluster['nodes'].select { |k, v| v['status'] != 'retired' }.sort_by{ |k, v| k }.first
       node["network_adapters"].each do |iface_uid, iface|
 
         # get switch attached to interface