dynamodb-admin icon indicating copy to clipboard operation
dynamodb-admin copied to clipboard

feature: sort rows by column value

Open zoranjovo opened this issue 2 months ago • 2 comments

Addresses #292

Simply adds arrows next to each column name to sort all rows by that value asc or desc. Same as how the actual dynamodb web client can reorder rows just on the visible data currently displayed.

zoranjovo avatar Nov 01 '25 11:11 zoranjovo

I haven't tried it but given that it works on the client side, I assume it only takes into account items on the current page? That would likely not be good enough since user would expect that all the data is in sorted order and not only the current page.

rchl avatar Nov 02 '25 17:11 rchl

Yep that's right, the user would need to set the page size to a high enough value to have all the data being shown to be able to sort it all. This is the same as how dynamodb > explore items on the aws console works. To have it rescan the entire table then sort would probably be beyond my knowledge.

Also I realised that on my version of macOS the Unicode arrows I chose don't render properly so I will fix that since I made this on a windows desktop.

zoranjovo avatar Nov 02 '25 22:11 zoranjovo