depth sorting method in computer graphics