Create Bubble Sort and Array.sort() method