The problem about nexus-cli

when I use the tools of nexus-cli to delete docker image,my command is “./nexus-cli image delete --name xxxx/xxx-xxx-uat -keep 5”, I want to keep the latest 5 version. but,the result is not the lastest 5 version. Before I deleted , the version is 5,6,7,8,9,10,11,12,13,14, after I use the command to delete ,the version 6,7,8,9,14. the 10,11,12,13 verison is deleted . Do you know why ?
The version like 1.0.0-SNAPSHOT-6-xxxxxx,1.0.0-SNAPSHOT-7-xxxxxx,1.0.0-SNAPSHOT-8-xxxxxx

Are they uploaded in order?

thank you for replay,I find the problem,the tool of nexus-cli keep the latest version is by “str” order:
v1, v10,v11, v12, v2,v3…the v11 is before v2,so,v10,v11,v12 is deleted :joy: