使用 QUERY() 排序

一个 B C d
1 pen 红色 500
2 pen 蓝色 -50
3 pen 红色 0
4 铅笔 蓝色 17
5 铅笔 绿色 -1.5

按列 D 排序 order by:

=QUERY("A1:D6","select * order by D desc",1)