How to Search Item should come begin

Actually in purchase order list i select on purchase order and then pop open their i am searching item that all items coming but which i am searching item that item coming at middle or last i want to set at begin that item in a list


You can search item with the alphabetical order or numerical order


can u give me the code ?