Sorts an array of Transaction objects in descending order based on their date.
Transaction
Assumes that the date is stored as a string in the format "MM/DD/YYYY" at the second position (index 1) of each Transaction tuple or array.
The array of Transaction objects to sort.
A new array of Transaction objects sorted from newest to oldest by date.
Sorts an array of
Transaction
objects in descending order based on their date.Assumes that the date is stored as a string in the format "MM/DD/YYYY" at the second position (index 1) of each
Transaction
tuple or array.