Article # 664, added by Geoworks, historical record
| first | previous | index | next | last |

How GenFileSelector sorts GEOS and DOS files.



The GenFileSelectorClass, by default, sorts files by their creation
date. Since DOS files do not have creation dates GEOS must hack them
to have very early dates, which forces DOS files to the end of the
selector listing. You can prevent this separation of GEOS and DOS
files by using the hint HINT_FILE_SELECTOR_ALWAYS_SORT_ALPHABETICALLY.
This will mingle the GEOS and DOS files and sort them in alphabetical
order.

By the way, after the files are sorted by creation date they are then
sorted by name. Some spui's sort them in reverse alphabetical order.