Tests for "sort" and "order"