Solved ReorderList

But fails for large inputs