i learned front flips first - i think my rationale was that they are less scary and i could try them on a smaller jump.
however, backflips are definitely easier. you can see your landing for most of the trick, and therefore know if you need to tuck more or not.