[#162] fix sorting of attachments to not break MSSQL
add author_url