Phalanx. That’s the word that comes to mind. A ragged phalanx of pine trees.

Now I have to look up “phalanx”.

A line of trees on a mountain ridge is backed by a big pink cloud.