improved export of sorted stories by priority