# Sorting graphs by alphabetical or number

**URL:** <https://connect.superhuman.com/t/sorting-graphs-by-alphabetical-or-number/50628>\
**Category:** Ask the Community\
**Created:** [August 18, 2024, 8:39pm UTC](https://connect.superhuman.com/t/sorting-graphs-by-alphabetical-or-number/50628 "2024-08-18T20:39:57Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jens-Design-Leadership-Community](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/jens-design-leadership-community/32/40357_2.png) [@Jens-Design-Leadership-Community](https://connect.superhuman.com/u/Jens-Design-Leadership-Community)\
**Post date:** [August 18, 2024, 8:39pm UTC](https://connect.superhuman.com/t/sorting-graphs-by-alphabetical-or-number/50628/1 "2024-08-18T20:39:57Z")

</div>

How can I sort a graph by alphabetical or number. As you see, it sorts by number of answers. I would like to sort it by 0, 1, 2, 3, 4, 5 and 6. Not like now 1, 0, 6, 5, 2, 4 and 3.

 ![Skärmavbild 2024-08-18 kl. 22.33.21](https://global.discourse-cdn.com/coda1/original/3X/2/9/29c2425145d6cdd5a0da25cfa892a28129dcb51e.png)

---

<div class="post-metadata">

**Author:** ![Jean\_Pierre\_Traets](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/jean_pierre_traets/32/16275_2.png) [@Jean\_Pierre\_Traets](https://connect.superhuman.com/u/Jean_Pierre_Traets)\
**Post date:** [August 20, 2024, 3:14pm UTC](https://connect.superhuman.com/t/sorting-graphs-by-alphabetical-or-number/50628/2 "2024-08-20T15:14:45Z")

</div>

Dear @Jens-Design-Leadership-Community,

The easiest way is just to add a column and number each row as you want to have them in your chart. Then sort them to become 1, 2, 3, 4, 5, 6, 7  
When all fine, you just hide this supporting column and you are good to go.

---

<div class="post-metadata">

**Author:** ![Jens-Design-Leadership-Community](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/jens-design-leadership-community/32/40357_2.png) [@Jens-Design-Leadership-Community](https://connect.superhuman.com/u/Jens-Design-Leadership-Community)\
**Post date:** [August 20, 2024, 6:38pm UTC](https://connect.superhuman.com/t/sorting-graphs-by-alphabetical-or-number/50628/3 "2024-08-20T18:38:18Z")

</div>

> [@Jean\_Pierre\_Traets](#):
>
> When all fine, you just hide this supporting column and you are good to go.

Thanks, that might do the trick. I just tried to manually add numbers in a new column and the sort using that column.

The thing is that I have over thousand of rows 🙂

So I tried to to use a formula to add the numbers automatically with

```auto
SwitchIf(

  thisRow.[What is your title?]="Other", "1" 

)

```

That worked like a charm. Thanks

---

<div class="post-metadata">

**Author:** ![system](https://yyz1.discourse-cdn.com/coda1/user_avatar/connect.superhuman.com/system/32/24484_2.png) [@system](https://connect.superhuman.com/u/system)\
**Post date:** [November 18, 2024, 6:38pm UTC](https://connect.superhuman.com/t/sorting-graphs-by-alphabetical-or-number/50628/4 "2024-11-18T18:38:20Z")

</div>

Closed on November 18, 2024, 6:38pm UTC

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.
