Data sorting method

A data ordering method. The data ordering method comprising at least: establishing a classification rules recorded in a computer-readable medium in a data table, the computer-readable recording medium includes at least a receiving unit, a processing unit and a storage unit; the the receiving unit receives a plurality of file names; the processing unit processes the plurality of file name received by the receiving unit according to the classification rule, and generates a corresponding plurality of conversion codes correspond respectively; and the storage unit stores the converted processing unit these conversion code corresponding to the data table corresponding to the file name, wherein the storage unit sequentially stores the plurality of conversion codes corresponding to the sequence in accordance with a predetermined classification rule. The present invention has a different databases can be simply and efficiently sorted in the same manner as efficacy.