sort phase from alpha to beta.
...