A new magnet sorting method for accelerators is developed. It is based on the linearized analysis of the effects of errors on accelerators. It is implementable in two steps. The first step is completely analytical in character while the second step involves the comparison of computed values with the measured error values. The whole process is repeated at mostntimes, wherenis the number of magnets to be chosen from at a time. Simulations of the method, using Mathematica(R), have been implemented for sorting the APS injector synchrotron dipoles and quadurpoles with excellent results.