lookup-file: should sort the files

Signed-off-by: Bao Haojun <baohaojun@gmail.com>