本文介绍了按项目大小对Listview列进行排序(512 KB,0.25 MB等)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我想按大小(512 KB,0.25 MB等)对Listview列进行排序
列1:
filename1
filename2
filename3
filename4
专栏2:
512 KB
0.25 MB
344 MB
1920 KB
我已经搜索过,但是所有结果都按这种方式排序(这不是数字排序)
1
10
2
3
那么,有什么简单的解决方案吗?
Hi, I want to sort Listview columns by size ( 512 KB, 0.25 MB etc )
Column1:
filename1
filename2
filename3
filename4
Column2:
512 KB
0.25 MB
344 MB
1920 KB
I have searched for it but all the results is sorting like this ( which is not a numerical sort )
1
10
2
3
So is there any simple solution?
推荐答案
这篇关于按项目大小对Listview列进行排序(512 KB,0.25 MB等)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!