They are ranked in order of importance, very simply by how many times they're underlined. A one-line whip means you don't have to turn up to vote if you don't feel like it, but if you do ...