a bubble sort displayed as a table and run in JS on the console