This PR fixes the disk sorting in the SMART tables. This ensures disks are sorted numerically by actual size instead of alphabetically by formatted string
closes #1536
๐ชต Changelog
โ Added
Added capacityBytes field to DiskInfo type
Added sortingFn: (a, b) => a.original.capacityBytes - b.original.capacityBytes
๐ Description
This PR fixes the disk sorting in the SMART tables. This ensures disks are sorted numerically by actual size instead of alphabetically by formatted string
closes #1536
๐ชต Changelog
โ Added
capacityBytesfield toDiskInfotypesortingFn: (a, b) => a.original.capacityBytes - b.original.capacityBytes