# recursive sorting

**URL:** <https://community.unix.com/t/recursive-sorting/155396>\
**Category:** UNIX for Advanced & Expert Users\
**Created:** [August 16, 2005, 3:16am UTC](https://community.unix.com/t/recursive-sorting/155396 "2005-08-16T03:16:17Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fermisoft](https://community.unix.com/user_avatar/community.unix.com/fermisoft/32/227_2.png) [@fermisoft](https://community.unix.com/u/fermisoft)\
**Post date:** [August 16, 2005, 3:16am UTC](https://community.unix.com/t/recursive-sorting/155396/1 "2005-08-16T03:16:17Z")

</div>

In the ls command, -t option and -R option dont work simultaneously.

ls -t ---\> lists the files with sorting based on file date  
ls -R ---\> lists the files recursively.

How to make utilize both in the same command.?

I want to sort the recursive files listing..

---

<div class="post-metadata">

**Author:** ![madmat](https://community.unix.com/letter_avatar/madmat/32/5_5575768a8748004e209b776fc1b2916d.png) [@madmat](https://community.unix.com/u/madmat)\
**Post date:** [August 16, 2005, 8:46am UTC](https://community.unix.com/t/recursive-sorting/155396/2 "2005-08-16T08:46:41Z")

</div>

ls -tR is correct
