Test sort block