Combine ordering by property logic