ft_ls is a program that lists directory contents just like the Unix 'ls'. To recollect what does it exactly do, you can read the BSD man page.
This program handles a lot of standard options: [1AFRSTUacdfgloprtu]
The main difference of the output is that ft_ls doesn't provide a multicolumn layout without the option -l.
- git clone https://github.com/itiievskyi/42-ft_ls.git ~/ft_ls
- cd ~/ft_ls
- make
- ./ft_ls [-1AFRSTUacdfgloprtu][file ...]
To sort a large number of files when recursive view is enabled I use the merge sort. Take a look at this article to read about algorithm.