Z->Y sorting in floor