userspace: Implement simple sort utility

This supports most(?) options except for the separate fields. Should
work for simple use cases

Also merge is currently just a wrapper around sort so its not optimized
:D
This commit is contained in:
2026-07-07 22:10:56 +03:00
parent ddf8fbc085
commit fa89645542
3 changed files with 363 additions and 0 deletions

View File

@@ -0,0 +1,9 @@
set(SOURCES
main.cpp
)
add_executable(sort ${SOURCES})
banan_link_library(sort ban)
banan_link_library(sort libc)
install(TARGETS sort OPTIONAL)