pub fn compute_permutation(current: &[u8], target: &[u8]) -> Option<Vec<usize>>
Compute permutation from current to target order