Alphabetic ordering in the file attributes view

I had some problems with programmatically added file attributes: The order in the file properties window seems to be random. Also the order differs from the file attributes overview panel: /dashboard/files/attributes/
My proposal is to just sort it alphabetically...