Make unlock/yield order configurable.
Merge pull request #21 from tobiassvn/unlock-yield-ordering

Make unlock/yield order configurable.