compile test sorting