The invention relates to the technical field of chemical materials. The invention discloses a preparation method of a platinum-based ordered alloy, and particularly discloses a preparation method of asub-nano platinum-based ordered alloy. The preparation method comprises the following steps: ultrasonically dispersing multiwalled carbon nanotubes and a nitrogen source into a hydrochloric acid solution to obtain a mixed solution, adding a non-noble metal precursor solution into the mixed solution, adding an initiator in the stirring process, drying, and calcining in an inert gas atmosphere to obtain non-noble metal nitrogen-carbon single atoms; ultrasonically dispersing non-noble metal nitrogen-carbon single atoms in a hydrochloric acid solution, adding a platinum precursor, stirring for 10-14 hours, and drying to obtain an alloy precursor; and pyrolyzing the alloy precursor in a hydrogen atmosphere to obtain the sub-nano platinum-based alloy redox catalyst. In the patent, non-noble metal single atoms and a carbon-nitrogen layer on the surface are used for limiting the range, and the non-noble metal single atoms have high stability and dispersity, so that aggregation, migration andgrowth of Pt particles can be well avoided, and the Pt alloy with small particles and uniform dispersion is obtained.