Only first #size integers taken into account for sorting.