Reorder Detail Items

The initial script works in terms of pushing back the items selected, however it does not reverse the order of such items.

I wonder whether this is possible?

I have attempted to split the incoming list, however it returned an error on Line 26.