Firebase orderby timestamp not workin


#1

Am ordering the return item by timestamp , but it doesnt work
it return items in order of date posted ,so when new post go to bottom instead of top

this is my controller

.controller('streamCtrl', function($scope, items, $firebaseArray, $rootScope, $ionicModal, ionicToast, $localStorage) {
$scope.comments = $firebaseArray(items.orderByChild("timestamp"));