made a few changes to return some order function stuff, using the table building function.  updated the array parameter in the table builder to specify an array - wasn't working with sqare brackets.  holler if I just broke it for you, but it fixed it on my machine