PyMOL>order does_not_exist
PyMOL>print cmd.get_names()
[]
PyMOL>order *
PyMOL>print cmd.get_names()
[]
PyMOL>order *,location=top
PyMOL>print cmd.get_names()
[]
PyMOL>order *,location=bottom
PyMOL>print cmd.get_names()
[]
PyMOL>order *,location=current
PyMOL>print cmd.get_names()
[]
PyMOL>load dat/pept.pdb
 CmdLoad: "dat/pept.pdb" loaded as "pept".
PyMOL>order pept
PyMOL>print cmd.get_names()
['pept']
PyMOL>order *
PyMOL>print cmd.get_names()
['pept']
PyMOL>order *,location=top
PyMOL>print cmd.get_names()
['pept']
PyMOL>order *,location=bottom
PyMOL>print cmd.get_names()
['pept']
PyMOL>order *,location=current
PyMOL>print cmd.get_names()
['pept']
PyMOL>load dat/il2.pdb
 CmdLoad: "dat/il2.pdb" loaded as "il2".
PyMOL>print cmd.get_names()
['pept', 'il2']
PyMOL>order *
PyMOL>print cmd.get_names()
['pept', 'il2']
PyMOL>order il2,location=current
PyMOL>print cmd.get_names()
['pept', 'il2']
PyMOL>order il2,location=top
PyMOL>print cmd.get_names()
['il2', 'pept']
PyMOL>order il2,location=bottom
PyMOL>print cmd.get_names()
['pept', 'il2']
PyMOL>order il2 pept
PyMOL>print cmd.get_names()
['il2', 'pept']
PyMOL>load dat/small01.mol
 ExecutiveLoad: "dat/small01.mol" loaded as "small01", through state 1.
PyMOL>print cmd.get_names()
['il2', 'pept', 'small01']
PyMOL>order small01 pept
PyMOL>print cmd.get_names()
['il2', 'small01', 'pept']
PyMOL>order small01 pept il2
PyMOL>print cmd.get_names()
['small01', 'pept', 'il2']
PyMOL>order *
PyMOL>print cmd.get_names()
['small01', 'pept', 'il2']
PyMOL>create aaa,pept
 Selector: found 107 atoms.
 Executive: object "aaa" created.
PyMOL>order *,sort=1
PyMOL>print cmd.get_names()
['aaa', 'il2', 'pept', 'small01']
PyMOL>create zzz,pept
 Selector: found 107 atoms.
 Executive: object "zzz" created.
PyMOL>order *,sort=1
PyMOL>print cmd.get_names()
['aaa', 'il2', 'pept', 'small01', 'zzz']
PyMOL>create pept2, pept
 Selector: found 107 atoms.
 Executive: object "pept2" created.
PyMOL>create pept1, pept
 Selector: found 107 atoms.
 Executive: object "pept1" created.
PyMOL>order pept*
PyMOL>print cmd.get_names()
['aaa', 'il2', 'pept', 'pept2', 'pept1', 'small01', 'zzz']
PyMOL>order pept*,sort=1
PyMOL>print cmd.get_names()
['aaa', 'il2', 'pept', 'pept1', 'pept2', 'small01', 'zzz']
PyMOL>order pept*,location=top
PyMOL>print cmd.get_names()
['pept', 'pept1', 'pept2', 'aaa', 'il2', 'small01', 'zzz']
PyMOL>order pept*,location=bottom
PyMOL>print cmd.get_names()
['aaa', 'il2', 'small01', 'zzz', 'pept', 'pept1', 'pept2']
PyMOL>order aaa,location=bottom
PyMOL>order zzz,location=top
PyMOL>print cmd.get_names()
['zzz', 'il2', 'small01', 'pept', 'pept1', 'pept2', 'aaa']
