Proper depth sorting for all elements in argus.