bug: fix disk sorting in smart table #1551

PR
PR description

๐Ÿ“ƒ 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

  • Added capacityBytes field to DiskInfo type
  • Added sortingFn: (a, b) => a.original.capacityBytes - b.original.capacityBytes
CUT
cutter bot commented just now

๐ŸŽฌ Cutter preview โ€” PR #1551

Sort SMART table by disk capacity
Sort SMART table by disk capacity โ€” Capacity column now sorts disks numerically by size.