lib/lutaml/xmi/parsers/xml.rb in lutaml-0.9.11 vs lib/lutaml/xmi/parsers/xml.rb in lutaml-0.9.12
- old
+ new
@@ -236,10 +236,12 @@
# @param general_node [Shale::Mapper]
# # @return [Hash]
def get_general_attributes(general_node)
attrs = serialize_class_attributes(general_node, with_assoc: true)
- attrs.sort_by { |i| i[:name] }
+ # turn on sorting if necessary
+ # attrs.sort_by { |i| i[:name] }
+ attrs
end
# @param general_node [Shale::Mapper]
# @return [String]
def get_next_general_node_id(general_node)