How to rank products based on user input | Hacker News Reader