Should the wedge be on top or underneath the ledger?

There is no technical difference between positioning the wedge on top or underneath the ledger. The advantage of installing the wedge on top is, that it’s easy to install as the coupler remains open by gravity. The advantage of placing the wedge underneath the ledger is that usually there is more space because there are no other ledgers or braces.