Added sorting, and inline disparity file