1 Reply Latest reply on May 10, 2007 10:06 PM by Rothrock

    FileReferenceList file order

    dgbdesign
      I've successfully used the FileReferenceList to upload multiple files, however, when the files are selected locally, they are uploaded in a seemingly arbitrary (but consistent) order, rather than alpha-numerically by file name. Performing sortOn on the fieldName "name" on the FileReferenceList array works (Array.DESCENDING reverses the original file order), but the new sort is still not alpha-numeric by file name, as if the actual file name has extra information in it.

      The files I'm attempting to sort all are named like:
      lg400.jpg
      lg401.jpg
      lg402.jpg

      but the array order might be something like:
      lg401.jpg
      lg400.jpg
      lg402.jpg

      It seems impossible to get the files to upload in the same alpha-numric order they are in locally. This is on a Mac 10.4.

      Any thoughts?

      Thanks