How do I sort columns by human readable size like sort:
-h, --human-numeric-sort compare human readable numbers (e.g., 2K 1G)?
Try this csv input:
REPOSITORY,TAG,IMAGE ID,CREATED,SIZE
node,12-buster-slim,9b63ce5727ab,10 days ago,155MB
mysql,5.7,1d7aba917169,10 days ago,448MB
node,12-alpine,b30595aabe53,12 days ago,89MB
buildpack-deps,bionic,c6458e9c218d,13 days ago,622MB
ubuntu,latest,fb52e22af1b0,13 days ago,72.8MB
alpine,latest,14119a10abf4,2 weeks ago,5.6MB
How do I sort columns by human readable size like
sort
:-h, --human-numeric-sort compare human readable numbers (e.g., 2K 1G)
?Try this csv input: