The two classes are often called internal and external sorting because arrays are stored in the fast, high-speed, random-acces "internal" store of computers and files are conveniently located on the slower, but more spacious "external" stores based on mechanically moving devices (disk and tapes).