Tags should be of unordered / unsorted data type
When creating tags, tags are sorted by their tag ID. Tags can only exist once and IDs of tags are not interesting apart from using as pk. What about ditching the ID and using the Tag name as primary key?
I hope this accounts for the problems I have. For example in /documents/list/ the tags are displayed in the order of adding, which is quite confusing and looks weird: Can we change this to sort them alphabetically?