Essentially, they are first status sorted (1K, 1P, 2P) and then fare sorted. The rules are somewhat different re: advance requests and airport standby. There are myriads of discussions on the UA section of this Board, as well as an "unofficial UA" page which is very helpful. Just scan through the UA messages and you will learn more than you ever wanted to, very quickly.