Actually, no it isn't, except for the limited case where the user genuinely wants an exhaustive list of all records matching the search query, and isn't much fussed about the order, or there exists a very small number of easily-distinguishable ordering criteria that the overwhelming majority of users a) understand and b) want.
Search in any more general case - as in, most real-world applications - is *hard*.
no subject
Actually, no it isn't, except for the limited case where the user genuinely wants an exhaustive list of all records matching the search query, and isn't much fussed about the order, or there exists a very small number of easily-distinguishable ordering criteria that the overwhelming majority of users a) understand and b) want.
Search in any more general case - as in, most real-world applications - is *hard*.