我想知道如何通过 ID 以 php 的形式排列我的选项?
<option value="9171">Name1</option>
<option value="5063">Name1</option>
<option value="6167">Name1</option>
<option value="5208">Name1</option>
<option value="4917">Name1</option>
<option value="4938">Name1</option>
<option value="6193">Name1</option>
<option value="6192">Name1</option>
<option value="5342">Name1</option>
<option value="6157">Name1</option>
<option value="5228">Name1</option>
<option value="2126">Name1</option>
<option value="1668">Name1</option>
<option value="6186">Name1</option>
<option value="5343">Name1</option>
<option value="4915">Name1</option>
<option value="9217">Name1</option>
<option value="7160">Name1</option>
<option value="9025">Name1</option>
<option value="9066">Name1</option>
<option value="9092">Name1</option>
从 PHP 中,我如何按 ID 顺序排列?ID 是选项的值。我从 media1.clubpenguin.com/play/en/web_service/game_configs/paper_items.json 获取 IDS