What's the difference between Z-Ordering and Partitioning?

User16790091296
Databricks Employee
Databricks Employee