>>1029502<what orderit doesnt really matter. its generally better to start with the melody or chords.
<will learning them help with composing?Yes, exactly! Piano in particular. If you open your daw you'll see all the programming is done on a piano roll, and it also gives you the most immediate understanding of chords, scales, and keys. Concepts which will apply to all the instruments in your compositions.