[Python3] Simple (By Sorting)
Arrange the asteroids in ascending order and check if the mass is greater than or equal to each of the mass of asteroids\n\nIf the mass of planet is less than a
Arrange the asteroids in ascending order and check if the mass is greater than or equal to each of the mass of asteroids\n\nIf the mass of planet is less than any of the mass of asteroids then it will get destroyed, and we have to return False else return True\n\n\n```\nclass Solution:\n    def asteroidsDestroyed(self, mass: int, asteroids: List[int]) -> bool:\n        asteroids.sort()\n        for i in range(len(asteroids)):\n            if mass>=asteroids[i]:\n                mass+=asteroids[i]\n            else:\n                return False\n        return True\n```
['Sorting', 'Python', 'Python3']