bug in QuickSort when have equal objects
To use BubbleSort