(Better and faster) Table of Hardware

Guys, I need your help/advices.

I want to fix the bug on the "Flash MB" column. The problem is that each cell is in fact an array of values made of number and letters : a very bad Database practice, but i have to deal with it :grimacing:

Here are some examples (taken from the first default page):

- [ "32" ]
- [ "16" ]
- [ "8", "128NAND" ]
- [ "16", "128NAND" ]
- [ "4096", "eMMC" ]
- [ "32", "1024NAND", "microSD" ]
- [ "16", "32", "64" ]

How should it be sorted (and also filtered)?
I mean the value used to sort/filter, while the cell will still display the details.

  • Should i always take the array member with the higher number, ie [ "16", "128NAND" ] becomes 128 ?
  • Should I add the numbers (ie [ "16", "32", "64" ] becomes 16+32+64=102)
  • What means an "eMMC" member (without number)?
  • Should I consider "microSD" to be on top priority, and means, for example 128G (128x1024MB) ?
1 Like