如何对包含以下内容的文件进行排序?(s=秒,h=小时,d=天 m=分钟)
1s 2s 1h 2h 1m 2m 2s 1d 1m
sort timestamps
sort ×1
timestamps ×1