Now sorting open list after adding candidates.
Updated TODO