Hi Arun,

I agree that sorting by date on a collection that has already been
sorted by relevance would yield unexpected results. But I'd like to
offer a low-cost solution for sorting on the client:

Also, implementing sorting on the list is difficult to do, especially with the new relative dates that we have. And, I don't have much time to hack on it at the moment. However, I'm happy to accept patches if you'd
be willing to write them. :-)

We can record the original numeric time stamp in a "data-" attribute and use JavaScript to sort by that data attribute on the client. (In the
past I've used listjs[1] for this, which is likely overkill here.)

[1]: https://github.com/javve/list.js

--
Ricardo

Reply via email to