optimize the search command and add a sort function for the texture list