1 | <?php |
||
14 | class MatchedPreferenceSort |
||
15 | { |
||
16 | /** |
||
17 | * Sort the array of MatchedPreference instances in ascending order. |
||
18 | * |
||
19 | * @param MatchedPreferenceInterface[] $prefList |
||
20 | * |
||
21 | * @return MatchedPreferenceInterface[] |
||
22 | */ |
||
23 | 7 | public function sortAscending(array $prefList) |
|
36 | |||
37 | /** |
||
38 | * Sort the array of MatchedPreference instances in descending order. |
||
39 | * |
||
40 | * @param MatchedPreferenceInterface[] $prefList |
||
41 | * |
||
42 | * @return MatchedPreferenceInterface[] |
||
43 | */ |
||
44 | 77 | public function sortDescending(array $prefList) |
|
57 | } |
||
58 |