2 ms·
It doesn't have to be totally custom. Just solicit a few representative types and allow all those. This also solves the problem of not everyone knowing how to w
by ars 18y ago
It doesn't have to be totally custom. Just solicit a few representative types and allow all those. This also solves the problem of not everyone knowing how to write such a function, and dealing with user code running on the server.
- IsaacSchlueter 18y agoBetter yet, play around with lots of different sorting methods, and look for patterns in the sorting method used (s), the user's data and history (h), and the amount of money the user ends up spending ($). Maximize $, and don't ask stupid questions like "Would you rather sort by variance, average rating, or Wilson score?" (I'm pretty sure that's what Amazon is busy doing every day. They're positively brilliant at turning data into money.)