depth sort algorithm in computer graphics