LibreOffice 25.2 ヘルプ
範囲または配列の内容を並べ替えます。
Enter the formula as an array formula.
SORT(範囲 [; 並べ替えインデックス [; 並べ替え順序 [; 列の比較] ] ])
Range: the range or array to sort.
SortIndex: (optional). The number indicating the row or column to sort by.
SortOrder: (optional). A number indicating the desired sort order; 1 for ascending order (default), -1 for descending order.
ByCol: (optional). A logical value indicating the desired sort direction; FALSE to sort by row (default), TRUE to sort by column.
{=SORT(A2:C6;2;1)}
Sort the range A2:C6 based on the second column in ascending order (Sales).
| 本 | 17 | 180 | 
| 鉛筆 | 20 | 65 | 
| ノート | 20 | 190 | 
| pen | 35 | 85 | 
| 筆箱 | not | not | 
{=SORT(A2:C6;3;-1)}
Sort the range A2:C6 based on the third column in descending order (Revenue).
| 筆箱 | not | not | 
| ノート | 20 | 190 | 
| 本 | 17 | 180 | 
| pen | 35 | 85 | 
| 鉛筆 | 20 | 65 | 
COM.MICROSOFT.SORT