More efficient zIndex ordering.