Equilibrium strategies in queues based on time or index of arrival