private void sortModels(final HashMap<Integer, MeshModel> unorderedElements) {
        final Set<Integer> unorderedKeys = unorderedElements.keySet();

        final ArrayList<Integer> orderedKeys = new ArrayList<>(unorderedKeys);
        Collections.sort(orderedKeys);
        for (int key : orderedKeys) {
            meshModels.put(key, unorderedElements.get(key));
        }
    }
Constructs an element within a node

@param elementAddress     element address
@param locationDescriptor location descriptor
@param models             models belonging to this element
mesh/src/main/java/no/nordicsemi/android/mesh/transport/Element.java