show installed packages using rpm

the following command will sort and show all of the rpm packages installed on a computer using less

rpm -qa | sort | less