[order] Some improvements, type has been added, small fixes

| Q             | A
| ------------- | ---
| Fixed tickets | -
| License       | MIT

I forgot to push this but you are discussing about this kind of PR too (I know ;)).