Added sort to filename search