use sorted_items in add morphcat script