adds sort and direction to statements api v1 documentation