pcomplete-compare-entry-function

pcomplete-compare-entry-function is a variable defined in `pcomplete.el'.
Its value is
string-lessp

  • This variable may be risky if used as a file-local variable.

Documentation:
This function is used to order file entries for completion.
The behavior of most all shells is to sort alphabetically.

You can customize this variable.