columns_matcher 0.0.6 → 0.0.7
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/columns_matcher/graph.rb +1 -1
- data/lib/columns_matcher/version.rb +1 -1
- metadata +1 -1
@@ -60,7 +60,7 @@ module ColumnsMatcher
|
|
60
60
|
|
61
61
|
mappings = Hash.new
|
62
62
|
|
63
|
-
pairings.each do |pair|
|
63
|
+
pairings.sort {|first, second| first.first <=> second.first }.each do |pair|
|
64
64
|
first_graph_vertex = first_graph_vertices[pair.last]
|
65
65
|
second_graph_vertex = second_graph_vertices[pair.first]
|
66
66
|
|