Added detailed testing to Sort and added timer functionality.