sort tags and deduplicate
This sorts the tags reverse-chronologically.
If any tags have the same name (shouldn't happen but it does in some of my
repos), we use whichever one is "newer".
Signed-off-by: Derek Stevens <nilix@nilfm.cc>
authored by