PURPOSE: This phase I trial is studying the side effects and best dose of sorafenib when given together with epirubicin, ifosfamide, and radiation therapy followed by surgery in treating patients with high-risk stage II or stage III soft tissue sarcoma.