I feel like the problem is more easily solved by adding a chronological view or filtering to an existing tree-based discussion (which RES can do for old.reddit) than attempting to automatically sort a discussion into subtopics.
Many chronological forum software also can already display reply/replied-to chains (though perhaps not first-class in terms of UX) if people use the reply function, which is often an option.