added preliminary putInOrder and attributeToCompareTo