我需要对一个字符串数组进行排序,如下所示。
<MP:F> SG10.01,"SG1 ANTA H 2300 MHz Mod",#.##," dB",LIM,23.00,34.00
<DATA> GEN_FREQ,2300e6,,MESSAGE,"Action: Connect the external PM power sensor to ANT A via N->7/16 adapter.",,DELAY,1000,,PICTURE,ANTA_PM.JPG
<MP:F> SG10.02,"SG1 to ANTA H 2302.5 MHz Mod",#.##," dB",LIM,23.00,34.00<DATA> GEN_FREQ,2302.5e6
<MP:F> SG10.03,"SG1 to ANTA H 2305.0 MHz Mod",#.##," dB",LIM,23.00,34.00<DATA> GEN_FREQ,2305.0e6
<MP:F> SG10.04,"SG1 to ANTA H 2380 MHz Mod",#.##," dB",LIM,23.00,34.00<DATA> GEN_FREQ,2380e6
<MP:F> SG10.05,"SG1 to ANTA H 2385 MHz Mod",#.##," dB",LIM,23.00,34.00<DATA> GEN_FREQ,2385e6
<MP:F> SG10.06,"SG1 to ANTA H 2390 MHz Mod",#.##," dB",LIM,23.00,34.00<DATA> GEN_FREQ,2390e6
<MP:F> SG10.07,"SG1 to ANTA H 2392.5 MHz Mod",#.##," dB",LIM,23.00,34.00<DATA> GEN_FREQ,2392.5e6
排序是按照频点的编号排序的,排序完成后会重新排列索引号吗?
我该怎么办?