Validate ORDER BY