Depending on the contents of the instruction from the CPU 7, the database processing device 3 effects sort processing by controlling the sort processing device 4 when sort processing is necessary.
Prior to sort processing the database processing device 3 effects the selection of data, format conversion, and the like, or effects totalization processing and the like after sort processing.