The proper hierarchy of leadership roles in the Senate from lowest rank the highest rank is:
majority whip
majority leader
president pro tempore
president of the Senate
The majority whip or the assistant whip is under the majority leader or the Senate party leader. Then, all of them are under the president pro tempore which is elected by Senate to preside when the president of the Senate is absent. The highest rank or the president of the Senate is the Vice President the United States