Added a feature to reverse the elements in a list of elements prior to patching.