Updated story entry ordering code. (Still buggy.)