trying to get sorting to work...super wet code right now but we can refactor later after i get a working solution going
more issues with tire...now looking into other options