Donald Trump knows how to command attention, and one way he does that is by attacking … everyone. If you’re another candidate, in the media or just walking this earth, there’s a good chance you’ll be hit by some Trumpian fury at some point. How does Trump choose his targets? Let’s turn to Twitter, where Trump is very active. And let’s limit ourselves to the GOP field: who Trump attacks — and who attacks Trump.

Since he officially entered the race in mid-June, Trump (from @realDonaldTrump) has mostly attacked top contenders, such as Jeb Bush and Scott Walker. In other words, Trump, as is his wont, operates in the classy, luxurious top tier.

Asians are very offended that JEB said that anchor babies applies to them as a way to be more politically correct to hispanics. A mess! — Donald J. Trump (@realDonaldTrump) August 25, 2015

Lesser candidates are — mostly — beneath his notice.

But the reverse isn’t true. His main competitors (Bush, Walker, John Kasich and Marco Rubio) have been pretty hesitant to ding Trump (at least on Twitter).

Long-shot candidates, such as Lindsey Graham and George Pataki, however, have been eager to go after The Donald. They have a lot to gain (attention) and almost nothing to lose. For example:

It's time for grown up government, Mexico is not going to pay us to build a wall. #immigration @realDonaldTrump https://t.co/nh0r2VaUCL — George E. Pataki (@GovernorPataki) August 18, 2015

Finally, there has been mutual Twitter friendliness between Trump, Ben Carson and Ted Cruz. That shouldn’t be too surprising as Carson and Cruz are going after the same types of voters as Trump.

Dhrumil Mehta contributed research for this article.