[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: help with findfile




"David Miller" <dom@virl.gsfc.nasa.gov> writes:

> I am using the FINDFILE routine to list all of the available data files in a
> particular directory. I then search through the list to get starting and
> ending points for a particular image. However, the filenames returned by
> FINDFILE are not in order (alphabetical), they are all mixed up. Any way to
> get them in order? I am using IDL 5.4 on Win 2000.

Will the SORT command help?  Ie, 

NAMES = NAMES(SORT(NAMES)))

Craig

-- 
--------------------------------------------------------------------------
Craig B. Markwardt, Ph.D.         EMAIL:    craigmnet@cow.physics.wisc.edu
Astrophysics, IDL, Finance, Derivatives | Remove "net" for better response
--------------------------------------------------------------------------