Sorting an Array

Results 1 to 3 of 3

Thread: Sorting an Array

  1. #1
    Todd Hackett Guest

    Default Sorting an Array

    Is it possible to sort an array such as an array of string or an array of dates? <BR><BR>Thanks,<BR><BR>-Todd

  2. #2
    Join Date
    Dec 1969

    Default RE: Sorting an Array

    There is an entire year long college class on data sorting.<BR><BR>If the array is taken from a recordstring, order using the Order By clause.<BR><BR>If it is outside of it, I am not sure if there are any built in functions. If not, it shouldn&#039t be too hard to code a function to resort. If you have no idea on doing it, for strings, a &#060; b, b &#060; c, but A &#062; b, B &#062; c. (might be vice versa, need to check that, it is case sensitive).

  3. #3
    Join Date
    Dec 1969

    Default RE: Sorting an Array

    There is a great article on 4Guys that shows how to sort a one or two-dimensional array using QuickSort (the best sorting routine available)<BR><BR>Sorting Arrays<BR>

Posting Permissions

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