Sanitization for ordering features