Hi Nirmal,

This is the normal string comparison behavior in Python. The strings are 
compared character by character, and if you run out of characters in one 
string, it is by default assumed to be smaller than the other string. 
That's why, "M - 1" < "M - 10".
Usually to avoid something like this, the best idea would be to name the 
folders something like "M - 01", "M - 02", etc.

On Friday, March 24, 2023 at 8:38:09 AM UTC+1 nirmalku...@gmail.com wrote:

> Hey there.... This is Nirmal here.... This is not such a big deal but I 
> want you to clarify whether this is a bug or some intentional thing. I am 
> attaching a pic below. Kindly have a look into it and let me know whether 
> this issue with alphanumeric sorting of file names is bug or intentionally 
> done to accommodate some needs.
>
>  
>
>  
>
> Thanks and regards....
>
>  
>
>  
>
>  
>
>  
>

-- 
You received this message because you are subscribed to the Google Groups 
"Project Jupyter" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to jupyter+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/jupyter/8c5c2f90-09f6-4df8-8ff2-a9817d39c2ebn%40googlegroups.com.

Reply via email to