compare method. Assumes both parameters are non-null
instances of Property. One property is less than another if
its name is shorter than the other property's name. If the
names are the same length, the property whose name comes
before the other property's name, alphabetically, is less
than the other property.