added multiple sorting algorithms

This commit is contained in:
nova
2025-07-06 15:59:18 +02:00
parent 47470e4e64
commit bc2989b2d9
3 changed files with 118 additions and 5 deletions

View File

@@ -60,10 +60,10 @@ static binding key_binding[] = {
{ "on", order_by, sort_natural, "order natural" },
{ "or", not_implemented, "", "order reverse" },
{ "oe", not_implemented, "", "order extension" },
{ "os", not_implemented, "", "order size" },
{ "ot", not_implemented, "", "order type" },
{ "oz", not_implemented, "", "order random" },
{ "oa", order_by, sort_alpha, "order random" },
{ "os", order_by, sort_size, "order size" },
{ "ot", order_by, sort_type, "order type" },
{ "oz", order_by, sort_random, "order random" },
{ "oa", order_by, sort_alpha, "order alphabetically" },
{ "mk", makedir, NULL, "create directory" },
{ "mf", makefile, NULL, "create file" },