I have a list of vectors and an another vector. I would like the arrange the list of vectors according to values of the other vector

```
a <- c(1, 2)
b <- c(1, 4)
c <- c(1, 1)  
x <- list(a, b, c)  # list of vector
v <- c(3, 2, 5)     # other vector

```

Here I want arrange x according to v. So the desired output will be:

```
 2  b
 3  a
 5  c

```