improve assignment list sorting

- add assignment restriction states 'open' and 'closed'
modelled after cenozo's participant_list
- add start_datetime column