Sort stories

fixes #342