In the British line of peerage, which is more important, a baron or an earl?

The earl ranks higher, but is by no means at the top.

From highest to lowest, the line of peerage runs as follows:

Duke and Duchess
Marquess (or Marquis) and Marchioness Earl and Countess
Viscount and Viscountess
Baron and Baroness