As I am curious I edited the datas to have three different students and to report what I assume to be the useful datas.
use AppleScript version "2.5"
use framework "Foundation"
use scripting additions
on dateFromString:aString usingFormat:formatString
set theFormatter to current application's NSDateFormatter's new()
theFormatter's setDateFormat:formatString
set theDate to theFormatter's dateFromString:aString
return theDate as date
end dateFromString:usingFormat:
set studentData to {{{"10909650005", "48", "34", "2020-06-19 16:07:04", "16:07:04", "Friday, June 19, 2020 at 4:07:04 pm"}, {"10909650005", "50", "34", "2020-06-19 16:22:48", "16:22:48", "Friday, June 19, 2020 at 4:22:48 pm"}, {"10909650005", "50", "35", "2020-06-19 16:31:38", "16:31:38", "Friday, June 19, 2020 at 4:31:38 pm"}}, {{"10909650005", "48", "34", "2020-06-19 16:07:04", "16:07:04", "Friday, June 19, 2020 at 4:07:04 pm"}, {"10909650005", "50", "34", "2020-06-19 16:22:48", "16:22:48", "Friday, June 19, 2020 at 4:22:48 pm"}, {"10909650005", "50", "35", "2020-06-19 16:31:38", "16:31:38", "Friday, June 19, 2020 at 4:31:38 pm"}}, {{"10701580059", "42", "33", "2020-06-19 16:08:37", "16:08:37", "Friday, June 19, 2020 at 4:08:37 pm"}, {"10701580059", "48", "39", "2020-06-19 16:33:07", "16:33:07", "Friday, June 19, 2020 at 4:33:07 pm"}}}
-- modified to have three different students
set studentData to {{{"10909650005", "48", "34", "2020-06-19 16:07:04", "16:07:04", "Friday, June 19, 2020 at 4:07:04 pm"}, {"10909650005", "50", "34", "2020-06-19 16:22:48", "16:22:48", "Friday, June 19, 2020 at 4:22:48 pm"}, {"10909650005", "50", "35", "2020-06-19 16:31:38", "16:31:38", "Friday, June 19, 2020 at 4:31:38 pm"}}, {{"10909650006", "48", "30", "2020-06-19 16:08:04", "16:08:04", "Friday, June 19, 2020 at 4:08:04 pm"}, {"10909650006", "50", "30", "2020-06-19 16:23:48", "16:23:48", "Friday, June 19, 2020 at 4:23:48 pm"}, {"10909650006", "50", "30", "2020-06-20 16:31:38", "16:31:38", "Friday, June 20, 2020 at 4:31:38 pm"}}, {{"10701580059", "42", "33", "2020-06-19 16:08:37", "16:08:37", "Friday, June 19, 2020 at 4:08:37 pm"}, {"10701580059", "48", "39", "2020-06-19 16:33:07", "16:33:07", "Friday, June 19, 2020 at 4:33:07 pm"}}}
set descriptor to missing value
set theResult to {}
repeat with subList in studentData
set earliestDate to (current date) -- Assuming the script's run after the dates in the lists.
repeat with subsublist in subList
set thisDate to item 4 of subsublist
set thisDate to (its dateFromString:thisDate usingFormat:"yyyy-MM-dd' 'HH:mm:ss")
if (thisDate comes before earliestDate) then
set earliestDate to thisDate
set descriptor to {item 1 of subsublist, item 2 of subsublist, item 3 of subsublist, earliestDate}
end if
end repeat -- with subsublist
set end of theResult to descriptor
end repeat -- with i
return theResult
(*
{{"10909650005", "48", "34", date "vendredi 19 juin 2020 à 16:07:04"}, {"10909650006", "48", "30", date "vendredi 19 juin 2020 à 16:08:04"}, {"10701580059", "42", "33", date "vendredi 19 juin 2020 à 16:08:37"}}
*)
Yvan KOENIG running High Sierra 10.13.6 in French (VALLAURIS, France) dimanche 21 juin 2020 17:08:13