More z-sorting.