re-order metadata depends