index a list `l` with another list `idx`,T = [L[i] for i in Idx]