array : quick sort algo for primitive data types, here arrays