[mod] refactored 3-way string quicksort