Added websocket event for sorting stories, and event handler