Following is the sample of my data which has to be sorted:
http://www.box.net/shared/npktk537id
What i need is that the data should first be sorted by family sr no., then in that family, first head of the family should figure (code 1), then his wife (2) and then the rest members of the family...