Multiple hooks configured - Need to control the sequence of execution

We are looking for the following information for Bitbucket 5.16.3 and Bitbucket 4.12.1:

  1. If there are multiple hooks configured for a project or repository, is there a particular sequence that the hooks are triggered in? Also, is there a way to control the sequence? We are trying to figure out a way to execute the hooks in a particular order.

  2. Can the hooks share data and / or status and / or variables among each other?