this works by sorting your data and using a file directory way to store you data.