modified get solutions sort by votes