Navigation

    CreatiCode Scratch Forum

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • CreatiCode

    Feature request: a block to alphabetize lists and tables

    Feedback
    feature-request help
    2
    4
    316
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • jeffreyrb03-gmail
      JaecadeJnight Mod Helper last edited by jeffreyrb03-gmail

      I think a block to alphabetize a list would be really useful. Here is an example of what it could look like:
      b4a1c457-31fe-468e-914b-ad557facc93e-image.png
      This block should replace the list selected (in order A-Z or Z-A) with its alphabetized version.
      And maybe an operator-kind too:
      f00110ad-4583-4d1e-a72c-deee2b262905-image.png
      This should return the list provided but in alphabetical order.
      __________________________
      Or maybe just add A-Z and Z-A as new options for the sort list block:
      74538a82-a68b-4ebd-a4ea-fdae771ed685-image.png
      These should also have an equivalent for tables too.

      #LLJW
      <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

      info-creaticode 1 Reply Last reply Reply Quote 2
      • info-creaticode
        CreatiCode @jeffreyrb03-gmail last edited by

        @jeffreyrb03-gmail

        You mean to sort the items in the list by A to Z order, right? Then the “sort list small to large” block you mentioned should already work for that purpose.

        jeffreyrb03-gmail 1 Reply Last reply Reply Quote 0
        • jeffreyrb03-gmail
          JaecadeJnight Mod Helper @info-creaticode last edited by

          @info-creaticode wait really? oh okay. I think small to large is a bit confusing because I thought it referred to numbers. The wording should probably be made a bit clearer. Thank you for the response lol I didn’t realize this already existed

          #LLJW
          <span style="color:white;background-image:linear-gradient(to right, lightblue, navy)">My name is Jeff</span>

          info-creaticode 1 Reply Last reply Reply Quote 2
          • info-creaticode
            CreatiCode @jeffreyrb03-gmail last edited by

            @jeffreyrb03-gmail

            No problem. All letters are represented by numbers (all things are numbers in computers), so you can compare letters just the same way as letters.

            1 Reply Last reply Reply Quote 1
            • First post
              Last post