How to sort the Heatmap axis based on the color values

You can check the following note for how to sort the Heatmap axis based on the color values.