$ 0 0 Thanx for your reply,Could anybody please tell me what exact algorithm does the SORT statement uses?