adds two new arrays that sort first seven elements properly