Nice catch, Alec!
(And no, I hadn’t ever done that myself, or if I had, I failed to spot that problem).
One for Torben to repair … ;D but not by adding zeroes.
Sounds like the grid column has a string data type, or else the grid control’s built-in sort mechanism hasn’t been ‘told’ to sort the ID column as a number and not a string (assuming the control has that option for the programmer: not sure …).
Does this same problem happen in the grids in both the Playlist AND Library tabs, or just in the Library tab?