摘要 |
Provided is a sorting method based on multi-valued attribute. The method includes: obtaining a multi-valued attribute sorting manner indication of an entity that has a multi-valued attribute; determining a sorting attribute value for the entity according to the multi-valued attribute sorting manner indicated by the multi-valued attribute sorting manner indication, and sorting the entity according to the sorting attribute value to obtain a sorting result; returning the sorting result carrying the sorting attribute value according to a received query request for sorting the entity, with the query request carrying the multi-valued attribute sorting manner indication and the sorting attribute value returning indication. In the embodiments of the present invention, the sorting attribute value of the entity can be displayed in the result intensively and intuitively, so that the reason why the entity appears at a certain position can be learnt, which meets the application requirements and makes it convenient for the application to further process the sorting result.
|