I feel like there is an easy answer for this that I am missing.
Here is the use case:
The client has a list of 20 drivers who are on a list. When a significant weather event happens, they will call in a portion of that list to work. For this example, 5 of the 20 drivers.
Those drivers will open the app and designate whether they are coming to work or not. If they say they aren’t coming in, the 6th person in line gets called in.
The dilemma is that I must maintain that order regardless of whether that person answered the negative or the positive. Additionally, some drivers may be inactive due to an injury but must keep their order. Example: They need 5 drivers but the 2nd person on the list is injured and should be skipped while still maintaining their spot in the order. This would result in the 6th driver being called immediately.
The list continues to rotate and individuals maintain their specific spot.
Any ideas on how the logic of this should work?