# Sc.pl.heatmap ,clusters, ascending order

**URL:** <https://discourse.scverse.org/t/sc-pl-heatmap-clusters-ascending-order/1030>\
**Category:** scanpy\
**Created:** [January 3, 2023, 7:32am UTC](https://discourse.scverse.org/t/sc-pl-heatmap-clusters-ascending-order/1030 "2023-01-03T07:32:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![navyhoody](https://avatars.discourse-cdn.com/v4/letter/n/71c47a/32.png) [@navyhoody](https://discourse.scverse.org/u/navyhoody)\
**Post date:** [January 3, 2023, 7:32am UTC](https://discourse.scverse.org/t/sc-pl-heatmap-clusters-ascending-order/1030/1 "2023-01-03T07:32:10Z")

</div>

hello, I am a beginner who is studying bioinformatics with scanpy these days.

In the sc.pl.heatmap, I want to show ‘leiden’ in a specific order in heatmap, but I don’t know what to do.  
(for example, I want to show ‘leiden’ in ascending order.)

Is there any related function?
