I always do the Melody first. Since I always layer my sounds, it's often hard to envisage the outcome of the sound(s).
The sound outcome will then dictate the type of drums I use, i.e. whether I'll use heavy hitting 808's and kicks, or a more subtle vinyl style arrangement.
could be anything - each tune dictates it's own path - but generally I find that a track usually comes to me more or less fully formed - lead, chords, bass and basic drums are all present in my aural imagination and then I orchestrate and arrange the final version comes from being an old old dog.....
I agree with bandcoach here. I, for example, start from the top throwing some compressed drums and a snare/clap combo for my first 4-8 measure mix fill. Then afterwards I bring in the fx to start my melodies usually; that's always based on chords - this allows me to figure out which scale I'm going to use for the rest of the track; then build off that.
99% of the times melody first...