Added sorting while importing database.py
Update database file