spand
listOf(null, 2,1,3).sortedWith(compareBy(nullsLast(reverseOrder<Double>())) { it?.toDouble() })