I wouldn't recommend sugar or caffeine, makes you crash mid-night.
I'd recommend (if you are off from school) messing with your sleep schedule so you can stay up all night. I've figured out a way to sleep 2 hours and still feel rested, but it takes awhile to get into it.
Experiment with different sleep schedules to find one you like.