Moved ability to sort and flatten to manager.