The order I was taught to do imports was:

1. built-in modules
2. third-party modules
3. my own code's modules