Made agents list expanable and sorted by importance