$sql="SELECT * FROM test_database where tarih ORDER BY asc"
veya desc nasil istersen kullan hocam