A. D. Falkoff showed the algorithms for maximum or minimum, greater than or less than searches and so on, with the logic circuits for the simple search. Generally speaking, the simple search causes the multi-matched informationss in the associative memory. Lewin and some other investigtors devised the ordered retrieval. In this aaper, the logic circuits that can discharge the function of the comparisons of ”greater than”, ”less than”, and ”equal to” at the same time, is designed, and the associative memory provided the sorting function, is structured, where this function can be helpful to the ordered retrieval. Besides, the associative memory is designed to discharge the function of the interrogations of ”maximum or minimum”, ”greater than or less than”, ”greater than and less than”, and ”simple searches for the stored information.