Direct sunlight will soften but not ripen tomatoes. Instead store them in a warm dry spot.
CMS