Fix sorted properties error message.