sort completions, but prefer arguments
add tuning for listing of only directories