Hi !<br><br>I have flat database:<br><br><b>100¦Bond¦James<br>101¦Smith¦Jack<br>102¦Black¦Janet</b><br><br>How can i sort this database with Surname or First Name ??<br>I can sort with number <b>sort ( $a cmp $b ) @array</b> but....<br><br><br>Please help !<br><br>Thanx!<br><br>