start writing sorting code
add getNames function
add functions to get product totals
start work on sorting
finish sorting algorithm  for sorting by customers
finish sorting algorithms
remove some code duplication
start working on converting database data to JSON