Accept order query params in tables endpoint