recovery: cpp: plugged in append and sort
recovery: removed unused variable usage
recovery: empty container is a valid sorted container