Arrange the following textual traditions in chronological order:
A. The works on astronomy and mathematics by Aryabhata and Varahamihira
B. Early Buddhist texts including the Tripitaka
C. Ashtadhyayi of Panini, a work on Sanskrit grammar
D. Natyashastra of Bharata, a work on dramaturgy
Choose the correct answer from the options given below: