ahoi !
this range vs altitude graph takes into account that you first have to climb into your given altitude which means initially lower speed and higher flow ( not leaned ) on the climb.
this downside seems not to be equalized or superiored when you climb just to 5000feet for your cruise here, only later on -at least due to this graph !