Order properties, remove in-property and inhereted duplicates