Im not quite sure how to do this, or what to google to find the answer...
for (var c in cfd){
if (cfd[c] <= cfd[c+1]) {
nextfunk = ???
}
}
After the for-loop thing I want nextfunk to have the value of the name of the lowest valued cfd.
Thanks.