# 'git tag' returns tags not in the order they were created

2 messages from 2023-01-01 to 2023-01-01. Participants: Yuri, Eric Sunshine.
Thread: https://gitlist.dev/t/59023

## Yuri, 2023-01-01 19:48

Subject: 'git tag' returns tags not in the order they were created
Message-ID: <46647d82-56f1-350a-a697-543d8f86ae1d@tsoft.com>
URL: https://gitlist.dev/e/46647d82-56f1-350a-a697-543d8f86ae1d%40tsoft.com

```
'git tag' returns these tags on 
https://github.com/out-of-cheese-error/the-way:

v0.10.0
v0.10.1
v0.11.0
v0.11.1
v0.12.0
v0.12.1
v0.13.0
v0.14.0
v0.14.1
v0.14.2
v0.14.3
v0.14.4
v0.15.0
v0.16.0
v0.16.1
v0.17.0
v0.17.1
v0.18.0
v0.2.1-osx
v0.2.1_osx
v0.2.2
v0.2.3
v0.2.4
v0.2.5
v0.3.0
v0.3.1
v0.3.2
v0.4.0
v0.5.0
v0.6.0
v0.6.1
v0.7.0
v0.8.0
v0.9.0

The latest tag is 0.18.0.


'git tag' should return tags in the order they were created.

Maybe they should be sorted by date?



git-2.38.1


Yuri


```

## Eric Sunshine, 2023-01-01 20:09

Subject: Re: 'git tag' returns tags not in the order they were created
Message-ID: <CAPig+cQGFnQwevsSuBkLkWxLaTam0j6rgoDNPHvT9kOfOoBMsg@mail.gmail.com>
URL: https://gitlist.dev/e/CAPig%2BcQGFnQwevsSuBkLkWxLaTam0j6rgoDNPHvT9kOfOoBMsg%40mail.gmail.com
In-Reply-To: <46647d82-56f1-350a-a697-543d8f86ae1d@tsoft.com>

```
On Sun, Jan 1, 2023 at 3:05 PM Yuri <yuri@tsoft.com> wrote:
> 'git tag' returns these tags on
> https://github.com/out-of-cheese-error/the-way:
> [...]
> The latest tag is 0.18.0.
> 'git tag' should return tags in the order they were created.
> Maybe they should be sorted by date?

See `git tag --sort=<key>`.

```
