diff --git a/src/widgets/truenas/component.jsx b/src/widgets/truenas/component.jsx index 10d45bf61..4c8e77f49 100644 --- a/src/widgets/truenas/component.jsx +++ b/src/widgets/truenas/component.jsx @@ -39,17 +39,19 @@ export default function Component({ service }) { {enablePools && - poolsData.map((pool) => ( - - ))} + poolsData + .sort((a, b) => a.name.localeCompare(b.name)) + .map((pool) => ( + + ))} ); }