added bubble sort feature