finished sorting the topfails array