Exam3.5.c

Add sorting
Merge pull request #2 from kevin-ramrattan/patch-4

Exam3.5.c