basic depth sort(bugs)