User experience is base of all products.
I select such algorithm:
1) UX
2) Layouts
3) Features <-> Specs <-> Code
4) Design (look of product with awesomeness, but shape determined by ux)
5) ???
6) Profit!