hashids.github.io
hashids.github.io copied to clipboard
Comparing hashids for sorting?
This may be a dumb question, but can hashids be sorted and compared alphanumerically?
If x < y, is hashid(x) < hashid(y) alphanumerically?
This would be useful to know in order to sort a list of objects based on their creation order using only their hashids.
I think you can answer yourself with a simple experiment similar to this:
With salt = "a":
1 => RD 2 => 6P 3 => aE
Closing since the project is moving.