I have a list of items which need to be sorted into time slots but that have limitations on the slots they can be in. For example I have slots available all day monday but item 1 - cant be scheduled from 8:00am to 12:00pm so it needs to be sorted after 1:00. I have spent the day trying to figure out where to start with this. There will always be enough slots for the items, I just need an algorithm to sort them. Any advice on where to start would be appreciated.