I have a dataset like different NICs and the dates(with time) as follows.
NICS            Date and Time
1156986       8/30/2021  11:48:21 AM
1156986       7/30/2021  11:48:21 AM
1156986       6/30/2021  11:48:21 AM
1156984       5/30/2021  11:48:21 AM
1156984       4/30/2021  11:48:21 AM
1156984       3/30/2021  11:48:21 AM
I need to make these data set to ascending order but considering the NICs as well.The output should as follows,
NICS            Date and Time
1156986       6/30/2021  11:48:21 AM
1156986       7/30/2021  11:48:21 AM
1156986       8/30/2021  11:48:21 AM
1156984       3/30/2021  11:48:21 AM
1156984       4/30/2021  11:48:21 AM
1156984       5/30/2021  11:48:21 AM
So I have tried with following code, but It provide me the acending order of whole list and it has not considered the NIC.
df.sort_values(by="Date and Time", key=pd.to_datetime)
How should I get the ascending order of the dataset for each NIC value?