init quick sort