added function to sort COAssets by the date