moving sort array example solution into correct file:'