3 ms·
Whenever I see this discussion come up my question is always: Why do you want to manually sort a giant list? I have never needed this. For smaller lists at the
by joshmarinacci 2y ago
Whenever I see this discussion come up my question is always: Why do you want to manually sort a giant list? I have never needed this. For smaller lists at the human scale (<1000 items), just use an integer. For larger lists no human should have to manually sort those anyway. Find some computational way of presenting the data to the human.
- morgango 2y agoFair question. I mentioned this in another comment, but Learn to Rank allows a customized sorting order that is specified by an administrator. Where you see this is in systems where you need a really fast evaluation (ms) and computation doesn't work well. For example, in an e-commerce system you might want search results that reflect what your users are likely to buy. For a few items you might be able to do something computationally with SQL, but at scale there are lots of features and signals and noise and it quickly moves past algebra. https://en.wikipedia.org/wiki/Learning_to_rank#:~:text=Learning%20to%20rank%20or%20machine,models%20for%20information%20retrieval%20systems https://en.wikipedia.org/wiki/Learning_to_rank#:~:text=Learn....