Process enum improvements

- using vector instead of multimap for faster sort
- fixed floating point CPU load