Order items by its dependencies

I’ve developed board to track deployment. Each item meant to be deployed on the same date. So existing dependency on Monday does not support such case.
And in the morning, list will be exported from the board, but still need to re-arrange those items before execution according to its dependencies (could depend on multiple items).
Is there any way for Monday to support this functionality or workaround?