There are six permutations that work
1 3 2 5 4
1 5 2 3 4
2 3 1 5 4
2 5 1 3 4
3 5 1 4 2
3 5 2 4 1
find out more exciting solution here- TellTims