         }
     }
 
-    func sortStories(var stories: [Story], source: HackerNewsAPI) {
+    func sortStories(var stories: [Story], source: HackerNewsAPI) -> [Story] {
         switch source {
 
         case .NewStories:

        }

        dispatch_group_notify(fetchGroup, dispatch_get_global_queue(QOS_CLASS_USER_INITIATED, 0)) {
            self.sortStories(stories, source: source)
            completion(data: stories)
        }
    }



        case _: break
        }

        return stories
    }

    func fetchComments(story: Story, completion: (data: [Comment]) -> Void) {
