its a basic queueing system
so all transactions will be processed with time
Not necessarily. Mempools don't have unlimited capacity and also there is transaction expired by timeout (by default 14 days after entering).
So in practice, if your transaction is not processed in 14 days, it will never be processed.