-format
-logic updated/bubblesort working properly