Bubble Sort using PHP