Added sortStories method
little Cleaning
moved the sortStories
New method for creating json