JSFiddle - React, Tailwind, and code Playground
HTML
<output id="foo" document?.get></output>
JavaScript
var d3 = [[22, 0.00001115], [93, 0.00001137], [538, 0.00001203], [982, 0.00001204]];
function deepSort(a,b){
if (a[1]==b[1]) {return 0;}
return (a[1]<b[1])?-1:1;
}
// tir perso
d3.sort(deepSort)
//récupèration du dernier élément
document.getElementById('foo').innerHTML=d3[d3.length-1][1];