select & quick sort