Ensure case insensitive tag sorting