Sorts out who the next people in line are for this app I'm throwing together