Lines Matching refs:sorted
41 * Check that the plan is sorted into the right order
52 $sorted = $plan->sortedPlan();
54 // the plan is sorted FORWARD (first things first)
55 $this->assertEquals(5, count($sorted));
56 $this->assertEquals('humans:programmers:andi', $sorted[0]['src']);
57 $this->assertEquals('animals:monkey', $sorted[1]['src']);
58 $this->assertEquals('yeti', $sorted[2]['src']);
59 $this->assertEquals('animals:mammals:bear', $sorted[3]['src']);
60 $this->assertEquals('humans:programmers', $sorted[4]['src']);
75 // the files are sorted BACKWARDS (first things last)
92 * Access the sorted plan