AngularJSのng-repeatを使った表示結果

実行結果1(デフォルト)

ID:{{item.id}} , 名前:{{item.name}} , 年齢:{{item.age}}歳

ng-repeat="item in items"
[{"id":1,"name":"マイケル","age":29},{"id":2,"name":"ジョージ","age":18},{"id":3,"name":"ナンシー","age":24}]

実行結果2(年齢の若い順)

ID:{{item.id}} , 名前:{{item.name}} , 年齢:{{item.age}}歳

ng-repeat="item in items | orderBy:'age'"
[{"id":1,"name":"マイケル","age":29},{"id":2,"name":"ジョージ","age":18},{"id":3,"name":"ナンシー","age":24}]

実行結果3(「1」で絞り込み)

ID:{{item.id}} , 名前:{{item.name}} , 年齢:{{item.age}}歳

ng-repeat="item in items | filter:1"
[{"id":1,"name":"マイケル","age":29},{"id":2,"name":"ジョージ","age":18},{"id":3,"name":"ナンシー","age":24}]

実行結果4(年齢を「2」で絞り込み)

ID:{{item.id}} , 名前:{{item.name}} , 年齢:{{item.age}}歳

ng-repeat="item in items | filter:{age:2}"
[{"id":1,"name":"マイケル","age":29},{"id":2,"name":"ジョージ","age":18},{"id":3,"name":"ナンシー","age":24}]

実行結果5(年齢の若い順…のはずが)

ID:{{item.id}} , 名前:{{item.name}} , 年齢:{{item.age}}歳

ng-repeat="item in items2 | orderBy:'age'"
{"1":{"id":1,"name":"マイケル","age":29},"2":{"id":2,"name":"ジョージ","age":18},"3":{"id":3,"name":"ナンシー","age":24}}