depth sort

use depth index table to sort.
the collision detect using math round so it not so perfect which might impact the sorting result.