#CA644, Assignment 1
#Part 2
#Example Solution

#Begin script.
#See https://man7.org/linux/man-pages/man1/ls.1.html

#!/bin/bash
ls -hs1r --sort=t

#-h or --human-readable print sizes like 1K 234M 2G etc.
#-s or --size print the allocated size of each file, in blocks
#-1 list one file per line. Avoid '\n' with -q or -b
#-r or --reverse reverse order while sorting
#--sort=t sort by time instead of name