Create Sorting (bubble, indexes, median of 3)