You can either use rank-based methods or positional ones, but the rank-based ones would be more intuitive.