Sort references in paper