The top of this chain of command is the Chief engineer (or first engineer), who is in command of engine room and auxiliary areas that would relate. Then comes the first assistant engineer, or second engineer, second assistant engineer (third engineer, and then the third assistant engineer, or fourth engineer. These are the officers within the engine company of a standard ship.
The hierarchy within an engine department on a ship is defined by the Chief Engineer (or first engineer), who oversees all operations related to the engine room and auxiliary areas. The next in line are the First Assistant Engineer, or Second engineer, followed by the Third assistant engineer, and then the Fourth engineer.