<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0">
    <channel>
        <title>零宽字符 - 标签 - 一峰的记录</title>
        <link>https://www.simplife.tech/tags/%E9%9B%B6%E5%AE%BD%E5%AD%97%E7%AC%A6/</link>
        <description>零宽字符 - 标签 - 一峰的记录</description>
        <generator>Hugo -- gohugo.io</generator><language>zh-cn</language><lastBuildDate>Sun, 15 Mar 2026 21:16:02 &#43;0800</lastBuildDate><atom:link href="https://www.simplife.tech/tags/%E9%9B%B6%E5%AE%BD%E5%AD%97%E7%AC%A6/" rel="self" type="application/rss+xml" /><item>
    <title>利用零宽字符改变字符串排序</title>
    <link>https://www.simplife.tech/posts/sorting-strings-using-zero-width-characters/</link>
    <pubDate>Sun, 15 Mar 2026 21:16:02 &#43;0800</pubDate>
    <author>一峰</author>
    <guid>https://www.simplife.tech/posts/sorting-strings-using-zero-width-characters/</guid>
    <description><![CDATA[<p>上周五干了件有点逆天的事情，记录一下。</p>
<p>事情是这样的，有一个活动页面，从上到下展示商品，大概五六个商品。设计的时候对排序有特殊要求，于是开发随便做了个按商品名称排序，结果上线之后才发现低估了粉丝的狂热度。页面上线后，排在后面的粉丝表达了强烈不满，要求排序前置。于是，产品临时决定按照销量排序。</p>]]></description>
</item>
</channel>
</rss>
