After mailing N-400 app, you will a notice from USCIS saying they have received your N-400 app. That notice will have a priority date. I think they (atleast, in theory) process the applications in the order of priority date, I am not 100% sure. It is also useful to compare timelines with others...