Currently I have a custom metadata field called "ordering" which is a numeric one and i want to sort the documents according to my custom field. I have successfully added the field in sorting list in the ui using the <sorting> option in share.config-custom.xml file. But the problem that, it is not getting sorted properly. Sometimes it is working , sometimes not. please help