I'm having a lot of trouble getting through the first race, any hints?
Try to sort right on a upcoming right turn (and left for left). This enables you to take 90° turns at full speed.