Closed
Description
The functions are horribly inefficient (By not sorting the dataframe and instead sorting in the SQL alone I was able to drop from 30ms to 10ms runtime) so these functions really need to be revisited. Also, once they are efficient we will no longer need to store the files, and instead can generate them on the fly removing the possibility of the files being out of sync with the database.