geting sorting Narratives from database