optimize quick sort 1 codes; edit statistics text