There's a common mix-up here worth clearing up. In the Kingdom Hearts series, Sora is the main hero of the original games, while 358/2 Days focuses on Roxas, who is Sora's Nobody.
So to answer the question directly: Sora doesn't join the Organization. It's Roxas who becomes connected to Organization XIII, which is the heart of that story.