private List < Map . Entry < Long , Double > > getSortedCRF ( ) { List < Map . Entry < Long , Double > > sortedCRF = new ArrayList <> ( mBlockIdToCRFValue . entrySet ( ) ) ; sortedCRF . sort ( Comparator . comparingDouble ( Entry :: getValue ) ) ; return sortedCRF ; }
Sorts all blocks in ascending order of CRF .