How to fetch a specific line from file

Hi,
I have text file in the following strucher .
The files contain hondreds of lines.

value1;value2;value3;value4

I would like to get back the line with lowest date (values4 field).
In this case its line number 3.

groupa;Listener;1;20110120162018
groupb;Database;0;20110201122641
groupc;job_q_processes;2;20101210111928
groupd;job_scheduler;0;20110201122641

Thanks

Try this,

sort -t";" -nk4 inputfile | head -1
awk -F';' 'BEGIN {getline; line=$0; low=$4} {if ($4 < low) { line=$0 } } END {print line}' yourfile
awk -F\; 'NR==1{s=$0;m=$4}$4<m{m=$4;s=$0}END{print s}' file

Another awk:

awk -F\; 'BEGIN{L=99999999999999}$NF<=L{r=$0;L=$NF}END{print r} file