passes test - pass in value rather than function reference
test for bubble sort: asserts resultant array is an ascending numerical array