Made the IDProperty class comparable, so we can have sorted collections.