Sortable attachments

Closes #10