Updating sorting method
Testing sorting method on exam score
Creating internal reusable sortData function