Removed Helper Function, Sort was moved to database storage