how to get the most recent dates in array of dates in nodejs code example
Example: typescript filter list of objects based on latest date
listOfValues.sort((a, b) => b.issueDate - a.issueDate);
listOfValues.sort((a, b) => b.issueDate - a.issueDate);