# How can I correctly arrange month in order when making the donut chart

**URL:** https://community.glideapps.com/t/how-can-i-correctly-arrange-month-in-order-when-making-the-donut-chart/34857
**Category:** Ask for Help
**Created:** [November 21, 2021, 11:57am UTC](https://community.glideapps.com/t/how-can-i-correctly-arrange-month-in-order-when-making-the-donut-chart/34857 "2021-11-21T11:57:20Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![OP03P](https://avatars.discourse-cdn.com/v4/letter/o/8e8cbc/32.png) [@OP03P](https://community.glideapps.com/u/OP03P)
#### Post date: [November 21, 2021, 11:57am UTC](https://community.glideapps.com/t/how-can-i-correctly-arrange-month-in-order-when-making-the-donut-chart/34857/1 "2021-11-21T11:57:20Z")

</div>

Hello,  
When I select a donut chart , the months showing in legend below the chart are wrongly in order.  
How can I correctly arrange the month in order when select the donut chart.

 ![month](https://us1.discourse-cdn.com/flex002/uploads/glideapps/original/3X/b/3/b3fb1e119744d66210033dab6aea045dea572c05.jpeg)

---

<div class="post-metadata">

### Author: ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)
#### Post date: [November 21, 2021, 2:08pm UTC](https://community.glideapps.com/t/how-can-i-correctly-arrange-month-in-order-when-making-the-donut-chart/34857/2 "2021-11-21T14:08:47Z")

</div>

I don’t think there’s a way to do that.

If there’s a method that works, I’m definitely interested in learning. I could use that.

---

<div class="post-metadata">

### Author: ![kyleheney](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/kyleheney/32/41173_2.png) [@kyleheney](https://community.glideapps.com/u/kyleheney)
#### Post date: [November 21, 2021, 2:19pm UTC](https://community.glideapps.com/t/how-can-i-correctly-arrange-month-in-order-when-making-the-donut-chart/34857/3 "2021-11-21T14:19:05Z")

</div>

You could add a column to your data and number it using month numbers, then sort by that column.

If your data is dynamic, you can use an IFTHEN or the new Format Date plugin to get the month number from your date column.

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [November 21, 2021, 2:40pm UTC](https://community.glideapps.com/t/how-can-i-correctly-arrange-month-in-order-when-making-the-donut-chart/34857/4 "2021-11-21T14:40:24Z")

</div>

> [@kyleheney](#):
>
> you can use an IFTHEN or the new Format Date plugin to get the month number from your date column.

…or a math column with the formula `Month(Date)` 🙂

---

<div class="post-metadata">

### Author: ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)
#### Post date: [November 21, 2021, 3:56pm UTC](https://community.glideapps.com/t/how-can-i-correctly-arrange-month-in-order-when-making-the-donut-chart/34857/5 "2021-11-21T15:56:13Z")

</div>

Duh! 🤦‍♂️For my case I could use Day(Date)

Excellent! ty both

---

<div class="post-metadata">

### Author: ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)
#### Post date: [November 24, 2021, 3:11am UTC](https://community.glideapps.com/t/how-can-i-correctly-arrange-month-in-order-when-making-the-donut-chart/34857/6 "2021-11-24T03:11:09Z")

</div>

Are you sure we can sort the Donut pie chart?

Under options for the donut pie chart there is no ‘sort’ field that I see.

---

<div class="post-metadata">

### Author: ![Darren\_Murphy](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/darren_murphy/32/47326_2.png) [@Darren\_Murphy](https://community.glideapps.com/u/Darren_Murphy)
#### Post date: [November 24, 2021, 3:31am UTC](https://community.glideapps.com/t/how-can-i-correctly-arrange-month-in-order-when-making-the-donut-chart/34857/7 "2021-11-24T03:31:42Z")

</div>

I don’t know, I’ve never tried. I always use quickcharts 😛

But, if you can’t - then there is always the [Sort Array Plugin](https://www.glideapps.com/plugins/sort-array) 😉

---

<div class="post-metadata">

### Author: ![Eric\_Penn](https://sea2.discourse-cdn.com/flex002/user_avatar/community.glideapps.com/eric_penn/32/73888_2.png) [@Eric\_Penn](https://community.glideapps.com/u/Eric_Penn)
#### Post date: [November 24, 2021, 3:36am UTC](https://community.glideapps.com/t/how-can-i-correctly-arrange-month-in-order-when-making-the-donut-chart/34857/8 "2021-11-24T03:36:44Z")

</div>

Ooooo fancy. It’s time for me to try a plugin.

Ya you can’t sort the native pie chart (without plugin I guess). You can however sort the native bar chart.
