По возрастанию сортировки
[{"ID":166297,"TREE":{"PROP_584":3}},{"ID":166296,"TREE":{"PROP_584":50}},{"ID":166295,"TREE":{"PROP_584":7}}]
[{"ID":166091,"TREE":{"PROP_584":7}},{"ID":166090,"TREE":{"PROP_584":3}}]