Removed obsolete code involved in ordering candidate lists