aboutsummaryrefslogtreecommitdiffhomepage
path: root/expand.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'expand.cpp')
-rw-r--r--expand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/expand.cpp b/expand.cpp
index c908cd9d..969fabac 100644
--- a/expand.cpp
+++ b/expand.cpp
@@ -1923,7 +1923,7 @@ int expand_string(const wcstring &input, std::vector<completion_t> &output, expa
case 1:
{
res = EXPAND_WILDCARD_MATCH;
- std::sort(expanded.begin(), expanded.end(), completion_t::is_alphabetically_less_than);
+ std::sort(expanded.begin(), expanded.end(), completion_t::is_naturally_less_than);
out->insert(out->end(), expanded.begin(), expanded.end());
break;
}