STATUS 400 FOR invaliid sort error