Fixed sort test