Sort Order With Markdown is Not as Expected

Tried to sort a list of items and noticed the order being a bit strange. Then I found out that it is because of Markdown I am using for formatting.

Please see description of the sorting bug below. Any questions, I am happy to provide more information.

Steps to reproduce

Create items like so:

**24 Tuesday**
**23 Monday**
01 Friday
26 Saturday

Note: days are irelevant.

Expected result

I would expect that the Markdown formatting is ignored and the sorting is done based on the actually displayed text.

01 Friday
**23 Monday**
**24 Tuesday**
26 Saturday

Actual result

The elements with the markdown ** in this case, are sorted before the ones without, even though the numbers would make it sort differently.

Environment

Does not matter.