sort failures by number