search

Home  >  Q&A  >  body text

I am a newbie who has just studied for 3 days. I want to ask some questions about my studies.

I am typing the code I learned, but the results I got are somewhat different from what I learned. The sorting is sort(), but when I typed it, it turned out that there was no queue. I hope QQ图片20220121200034.png can help me with the answer

P粉827046969P粉8270469691106 days ago1134

reply all(1)I'll reply

  • autoload

    autoload2022-01-22 09:10:16

    image.png

    Yours is a string, so it will be compared bit by bit, first comparing the first bit, if they are the same then comparing the second bit,

    image.png

    If it is a simple number, it will display normally

    reply
    0
  • Cancelreply