Added 'second round' search and early order algorithm