Compare:
1. John and I did a great job. We are so proud.
2. I and John really messed up everything. We feel very sorry.
Do you notice the difference? If you mention something bad, wrong or negative, "I" should go first. In other cases, the other person has to go first for politeness.
Hope this helps1