clean up sort table for narrative