Sort heurList to get bigger elements first