Property sort and cosmetics in history ptree.