Sort:  

The intention is good, now it's really time to optimize a little bit the algo of this bot that interacts with too few parameters.