I am having real trouble with using stream and sorted to sort my ArrayList and hope someone can help out. The code uses Croatian words, but I don\'t think that will be a pro
You can also do it in that way:
listaPublikacija.stream().sorted(Comparator.comparingDouble(Publikacija::getCijena));