Below are two commands to Sort Files in SAP Directory (OS Level, UNIX):
du -xak . | sort -n | tail -100
it finds me the biggest 100 files or directories on the file system I’m in.
If you want to see which sub-directory of your home directory is the largest, go to your home directory and enter,
du -sk *
The sorting process is not stable, i.e. if no sort is performed for a predefined sequence of fields, the sequence is not retained.
To delete all duplicate entries from a sorted internal table, you can specify DELETE ADJACENT DUPLICATES FROM itab after SORT
Click on the following link to Learn more about HANA