# Numbered Lists Reordering

**URL:** <https://discourse.joplinapp.org/t/numbered-lists-reordering/44807>\
**Category:** Support\
**Created:** [10 April 2025 05:57 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807 "2025-04-10T05:57:40Z")\
**Posts on this page:** 12\
**Page:** 1

<div class="post-metadata">

**Author:** ![NicCrockett](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/niccrockett/32/25050_2.png) [@NicCrockett](https://discourse.joplinapp.org/u/NicCrockett)\
**Post date:** [10 April 2025 05:57 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/1 "2025-04-10T05:57:40Z")

</div>

### Operating system

Windows

### Joplin version

3.2.13

### Desktop version info

Joplin 3.2.13 (prod, win32)

Client ID: 8a7835c798b146ca87fc403a2a345c0f  
Sync Version: 3  
Profile Version: 47  
Keychain Supported: Yes

Revision: a898e17

Backup: 1.4.2  
Freehand Drawing: 2.14.0

### Sync target

OneDrive

### Editor

Markdown Editor

### What issue do you have?

Deleting lines from a numeric list doesn't reorder the list. I've noticed this in both the Markdown and Rich Text editors. The reason I bring this up is because I would like to move items within a list and also move items between two different lists. This is most of the issues I found with numeric lists.

The examples below are all based on this original numeric list. This is the way it would look before making changes.

1. Line 1
2. Line 2
3. Line 3
  1. Sub Line 3.1
  2. Sub Line 3.2
  3. Sub Line 3.3

4. Line 4
5. Line 5
6. Line 6

If I delete a numeric line 1 it doesn't reorder the list, i.e. 2 becomes 1 at the top of the list. This happens whether I just delete it or use ctrl + X to move it elsewhere. However, pasting it elsewhere does work, but it isn't ordered properly. You can see the differences in Markdown vs. Rich Text in the following examples.

Markdown Example:  
2. Line 2

1. Line 1
2. Line 3
  1. Sub Line 3.1
  2. Sub Line 3.2
  3. Sub Line 3.3

3. Line 4
4. Line 5
5. Line 6

Rich Text Example:  
2. Line 2  
3. Line 1  
4. Line 3  
1. Sub Line 3.1  
2. Sub Line 3.2  
3. Sub Line 3.3  
5. Line 4  
6. Line 5  
7. Line 6

If I delete a line or sub line using delete or ctrl + X to move it elsewhere it doesn't reorder the list. In the list below you can see the sub lines are now ordered 1 then 3. You can also see that the main lines are now ordered 4 then 6.

1. Line 1
2. Line 2
3. Line 3
  1. Sub Line 3.1
  2. Sub Line 3.3

4. Line 4
5. Line 6

If I add a new line between existing lines by hitting enter at the end of a line it puts a hard return instead of creating a new line that's properly ordered. Oddly this doesn't work in Markdown, but does work in Rich Text. If I add a blank line in Rich Text it works, but if I leave it blank after the number there's a hard return in markdown and it's no longer ordered correctly.

Markdown Example:

1. Line 1

2. Line 2

3. Line 3

4. Line 4

5. Line 5

6. Line 6

Rich Text Example:

1. Line 1
2. Line 2
3. Line 3
  1. Sub Line 3.1
  2. 
  3. Sub Line 3.2
  4. Sub Line 3.3

4. Line 4
5. 
6. Line 5
7. Line 6

Copying and pasting an entire numeric list in Rich Text works, but changes it to a bulleted list. This works properly in Markdown.

Thanks for any help you can provide!

---

<div class="post-metadata">

**Author:** ![Steph](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/steph/32/17080_2.png) [@Steph](https://discourse.joplinapp.org/u/Steph)\
**Post date:** [10 April 2025 06:10 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/2 "2025-04-10T06:10:23Z")

</div>

Looks like : [Bulleted, numbered and checkboxed lists : strange behaviour (RTE) - BUG =\> GITHUB - #4 by pschapman](https://discourse.joplinapp.org/t/bulleted-numbered-and-checkboxed-lists-strange-behaviour-rte-bug-github/44715/4)

 ![image](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/c/a/caed5f2e8f50ffcc551e6d4666c53078d5d2cb0e.png)

---

<div class="post-metadata">

**Author:** ![NicCrockett](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/niccrockett/32/25050_2.png) [@NicCrockett](https://discourse.joplinapp.org/u/NicCrockett)\
**Post date:** [10 April 2025 06:19 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/3 "2025-04-10T06:19:25Z")

</div>

I'm sorry, but some of those examples didn't display correctly when I posted them. Here's a list of the errors:

The first Markdown example shouldn't have a hard return between 2 and 1. 2 should also be tabbed in to align with 1.

The first Rich Text example shows the sub lines in line with the main lines. These are incorrect in the forum and are tabbed in correctly in the software.

The second Markdown example shouldn't have space between each line. However, there should be a hard return after Sub Line 3.1. Sub Line 3.2 and Sub Line 3.3 should start with a 3. and 4. In other words the lines should be 1, hard return, 3, and 4.

---

<div class="post-metadata">

**Author:** ![Steph](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/steph/32/17080_2.png) [@Steph](https://discourse.joplinapp.org/u/Steph)\
**Post date:** [10 April 2025 06:21 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/4 "2025-04-10T06:21:08Z")

</div>

> [@NicCrockett](#):
>
> those examples didn't display correctly

You should use screenshots !  
On windows use GREENSHOT : [https://getgreenshot.org/](https://getgreenshot.org/)  
On linux use KSNIP : [GitHub - ksnip/ksnip: ksnip the cross-platform screenshot and annotation tool](https://github.com/ksnip/ksnip)

Use a clipboard copy in these softwares (= copy of the screen into memory) and simply paste into the forum page.

---

<div class="post-metadata">

**Author:** ![NicCrockett](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/niccrockett/32/25050_2.png) [@NicCrockett](https://discourse.joplinapp.org/u/NicCrockett)\
**Post date:** [10 April 2025 06:34 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/5 "2025-04-10T06:34:54Z")

</div>

No problem, but I need to move onto something else right now. I'll post screenshots as soon as I can.

---

<div class="post-metadata">

**Author:** ![Steph](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/steph/32/17080_2.png) [@Steph](https://discourse.joplinapp.org/u/Steph)\
**Post date:** [10 April 2025 06:58 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/6 "2025-04-10T06:58:02Z")

</div>

Obviously it's bug.  
After taking screenshots and put them here, you should fill out this bug report:

> **[Build software better, together](https://github.com/laurent22/joplin/issues/new?template=BUG_REPORT.yml)**
>
> GitHub is where people build software. More than 150 million people use GitHub to discover, fork, and contribute to over 420 million projects.

---

<div class="post-metadata">

**Author:** ![pschapman](https://avatars.discourse-cdn.com/v4/letter/p/c37758/32.png) [@pschapman](https://discourse.joplinapp.org/u/pschapman)\
**Post date:** [11 April 2025 00:15 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/7 "2025-04-11T00:15:04Z")

</div>

Here's the animated gif I posted.

![2025-04-05_15-58-37](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/5/7/5752def14db9c8dccb9b0b18152c6886b97c1c01.gif)

As previously stated, issue is in the editor window. Rendered output is always correct.

```auto
Joplin 3.2.13 (prod, win32)

Client ID: 56abc1b6af6d4a41ab561a71c33fdd49
Sync Version: 3
Profile Version: 47
Keychain Supported: Yes

Revision: a898e17

Backup: 1.4.2
Freehand Drawing: 2.14.0
Outline: 1.5.14

```

---

<div class="post-metadata">

**Author:** ![muzak](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@muzak](https://discourse.joplinapp.org/u/muzak)\
**Post date:** [11 April 2025 15:07 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/8 "2025-04-11T15:07:53Z")

</div>

[This Markdown ordered lists table](https://www.markdownguide.org/basic-syntax/#ordered-lists) shows how rendered output gets reordered even if the Markdown editor text differs. Moreover, switching to the Rich Text editor will show the same list that the Markdown preview did.

If you use the legacy editor on desktop, a workaround for this issue could be to enable and use only the `Automatically correct list numbering when editing lists` option of the [Enhancement plugin](https://joplinapp.org/plugins/plugin/com.septemberhx.Joplin.Enhancement/). It reorders lists for both Markdown and Rich Text editors, even after moving lines up/down the list as described here: [[Android Toolbar Feature Request] Add ability to move line up/down - #6 by Steph](https://discourse.joplinapp.org/t/android-toolbar-feature-request-add-ability-to-move-line-up-down/44702/6)

While the beta editor reorders numbered lists, reordering a list after moving lines up/down requires indenting then de-indenting the line for:

- The first item in any ordered list (if you want to reset the list to start at `1.`)
- Any ordered list item

---

<div class="post-metadata">

**Author:** ![Steph](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/steph/32/17080_2.png) [@Steph](https://discourse.joplinapp.org/u/Steph)\
**Post date:** [23 April 2025 23:33 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/9 "2025-04-23T23:33:30Z")

</div>

"Legacy" editor and "beta editor" ? You mean "markdown" editor and "RTE" editor ?

---

<div class="post-metadata">

**Author:** ![muzak](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@muzak](https://discourse.joplinapp.org/u/muzak)\
**Post date:** [24 April 2025 01:52 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/10 "2025-04-24T01:52:20Z")

</div>

No, I mean the legacy and beta Markdown editors, which you can toggle between at `Tools` \> `Options` \> `General` \> `Show Advanced Settings` \> `Use the legacy Markdown editor`.

---

<div class="post-metadata">

**Author:** ![Steph](https://yyz2.discourse-cdn.com/flex028/user_avatar/discourse.joplinapp.org/steph/32/17080_2.png) [@Steph](https://discourse.joplinapp.org/u/Steph)\
**Post date:** [24 April 2025 06:39 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/11 "2025-04-24T06:39:22Z")

</div>

Thanks ! I didn't notice the existence of two markdown editor.  
So, according to you:  
In order to face the problem

- legacy markdown editor =\> "Enhancement" plugin
- beta markdown editor =\> we must reorder the list by ourself

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex028/uploads/cozic/original/3X/1/c/1c948e33314e232a0927789508474d8624f4270b.png) [@system](https://discourse.joplinapp.org/u/system)\
**Post date:** [24 May 2025 06:40 UTC](https://discourse.joplinapp.org/t/numbered-lists-reordering/44807/12 "2025-05-24T06:40:21Z")

</div>

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