No, you do not perform any ordering in top.sls. Ordering (and require) apply to states, so you cannot use them in an include declaration either. However, you can achieve the same thing as your example using 'extend'.
Option 1: Use order as part of a state
# python/init.sls #
# You want pip to be installed before anything else, so you want this state to be run before any others and assign it an order of 1.
install_pip:
pkg.installed:
- name: python-pip
- order: 1
Option 2: Use order with extend in another state:
# fun/init.sls
# Same result as above, but for some reason you don't always need pip to be installed first, so you leave the option open to use that python state with ordering other than 1. Thus, you are extending the python state to apply your chosen order.
include:
- python
extend:
install_pip:
pkg:
- order: 1
Option 3: Have every state declaration require the state id:
include:
- python
<your state id>:
<your function>:
- <other params>
- require:
- pkg: install_pip
Hope that helps,
Nick