In serious need of a 2 dimensional quicksort

Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.

  1. #1

    Default In serious need of a 2 dimensional quicksort

    Hi,

    My website used to just have 200 or so records to sort, now it's got like more
    than 2000.

    I'm in serious need of a 2 dimensional array quicksort.

    The one at CFLib just does not work for me though.

    Anyone know where I can get a quicksort? A bubble sort just doesn't cut it.

    Thanks in advance,

    Joe

    Joe_Krako Guest

  2. Similar Questions and Discussions

    1. What's better/faster, passing around and manipulating lists or one-dimensional arrays? Should a CFC argument be a list or a one-dimensional array?
      What's better/faster, passing around and manipulating lists or one-dimensional arrays? Should a CFC argument be a list or a one-dimensional array?
    2. 2-Dimensional Array Question
      This is my first time using an array. 1. My code seems to work but I need to return a count from each piece of the array (the number of each...
    3. Multi-dimensional Array
      Hi, Array-Question: Suppose you have an array like: <? $invoices=$taxrate; $invoices=a number; ?>
    4. Two Dimensional Arrays
      Hello all, Can anyone tell me how to get and assign the first dimension of a two dimensional array to another array? For example, I have a...
    5. turn xml into 2 dimensional array
      Well, www.php.net seems utterly crashed. Does anyone know how to get an XML stream and turn it into a 2 dimensional array?
  3. #2

    Default Re: In serious need of a 2 dimensional quicksort

    You might consider copying your 2d array to a 1d array, using a pipe or other
    character as a delimiter between array elements in a row. Then the CFLib.org
    quicksort could be used, and once sorted, you could copy the array back to a 2d.

    jdeline Guest

Posting Permissions

  • You may not post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139