If you would like to list files ordered by size in certain folder.

Simply use something like :

ls -lS /path/to/folder/

Capital S.

This will sort files by size.

Also see:

man ls

-S     sort by file size

If you want to sort in reverse order, just add -r switch.

FYI: