The problem
I have a document library with versioning, and I am tweaking the view through the UI.
It appears that, right ootb, when we sort by Version
it doesn't really sort properly, as it appears to consider "11"
like a string and not like the interger 11
.
Sounds overkill if I am to create a new, calculated column just for this.
From the query string, I can see that the field being sorted is _UIVersionString
so I guess I shouldn't be surprised.
SortField=_UIVersionString-SortDir=Asc
Anyone else experienced this and has any tips?
Similar threads
How can I add the UIVersion (integer) field to a view?
Screenshot
Update
I might just be able to update the view through CSOM to make it use "UI Version" field instead of "Version" (Title Name)