(a) An attorney has a lien for compensation, whether specially agreed upon or implied, as provided in this section
- (1) first, upon the papers of the client that have come into the possession of the attorney in the course of the professional employment;
- (2) second, upon money in the possession of the attorney belonging to the client;
- (3) third, upon money in the possession of the adverse party in an action or proceeding in which the attorney is employed, from the giving of notice of the lien to that party;
- (4) fourth, upon a judgment to the extent of the costs included in the judgment or, if there is a special agreement, to the extent of the compensation specially agreed on, from the giving of notice of the lien to the party against whom the judgment is given and filing the original with the clerk where the judgment is entered and docketed.