quick sort func implenment.

Signed-off-by: mmz <mmz@fishtown.(none)>