MDL-41708 mod_forum: Show attachments in lexical order

This matches the order in which they're shown in the file manager.