HISE Logo Forum
    • Categories
    • Register
    • Login

    Array.sort() doesn't work for string arrays

    Scheduled Pinned Locked Moved Bug Reports
    20 Posts 5 Posters 962 Views
    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.
    • LindonL
      Lindon @ustk
      last edited by

      @ustk can you give me an example of your usage?

      HISE Development for hire.
      www.channelrobot.com

      ustkU 1 Reply Last reply Reply Quote 0
      • ustkU
        ustk @Lindon
        last edited by ustk

        @Lindon

        var stringArray = ["f", "a", "z"];
        stringArray.sortNatural(); // ["a", "f", "z"]
        

        Can't help pressing F5 in the forum...

        LindonL 1 Reply Last reply Reply Quote 0
        • LindonL
          Lindon @ustk
          last edited by Lindon

          @ustk hmm, yeah I get hanging update errors...dont worry about it I will continue with my home grown sort..

          HISE Development for hire.
          www.channelrobot.com

          ustkU 1 Reply Last reply Reply Quote 0
          • ustkU
            ustk @Lindon
            last edited by

            @Lindon said in Array.sort() doesn't work for string arrays:

            @ustk hmm, yeah I get hanging update errors...

            what do you mean?

            Can't help pressing F5 in the forum...

            LindonL 1 Reply Last reply Reply Quote 0
            • LindonL
              Lindon @ustk
              last edited by

              @ustk oh sorry wrong terms : here:

              MELODICSO1:! dangling listener

              HISE Development for hire.
              www.channelrobot.com

              ustkU d.healeyD 2 Replies Last reply Reply Quote 0
              • ustkU
                ustk @Lindon
                last edited by

                @Lindon You just buried me a bit more 🤣

                Can't help pressing F5 in the forum...

                LindonL 1 Reply Last reply Reply Quote 1
                • LindonL
                  Lindon @ustk
                  last edited by

                  @ustk said in Array.sort() doesn't work for string arrays:

                  @Lindon You just buried me a bit more 🤣

                  yeah I think its just not cleaning up after itself correctly..

                  HISE Development for hire.
                  www.channelrobot.com

                  1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey @Lindon
                    last edited by

                    @Lindon said in Array.sort() doesn't work for string arrays:

                    @ustk oh sorry wrong terms : here:

                    MELODICSO1:! dangling listener

                    What are you drinking... :p

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @d.healey
                      last edited by

                      @d-healey - the coolaid....

                      HISE Development for hire.
                      www.channelrobot.com

                      1 Reply Last reply Reply Quote 1
                      • NatanN
                        Natan
                        last edited by

                        What is the Meaning of This?
                        dangling listener

                        It happens once I Check the plugin Parameters Names using Tools / Validate Plugin Parameters!

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

                        58

                        Online

                        1.7k

                        Users

                        11.7k

                        Topics

                        101.8k

                        Posts