source: Update code of quick_sort.

Sort will invoke quick_sort, both sort and quick_sort can be used to
sort different type of element, the invoker should implement two extra
functions - swap and compare to use sort and quick_sort. There is a
very simple example using sort functions to sort integers, i.e.
upper_layer/0350-invoke-quick-sort.c.