HISE Logo Forum
    • Categories
    • Register
    • Login

    sortWithFunction

    Scheduled Pinned Locked Moved General Questions
    3 Posts 2 Posters 121 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.
    • A
      arminh
      last edited by arminh

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart
        last edited by

        Yes, just return -1, 1 or 0 based on the comparison and it will sort it. The function needs to have two arguments.

        A 1 Reply Last reply Reply Quote 1
        • A
          arminh @Christoph Hart
          last edited by

          @Christoph-Hart It's not workin on arrays generated by FileSystem.

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

          27

          Online

          1.7k

          Users

          11.8k

          Topics

          102.5k

          Posts