Fixes a bug in the Find in Files sorting implementation

It now store the selected entry when starting a search and use it when sorting the files, so that the order of the files shouldn't change anymore.

@JeffryBooher