On Constructing Suffix Arrays in External Memory