Added firebase array adpater filtering and sorting