Added sorting ability to content types custom fields.