Firebase value sort

Once you got data or tags from firebase you have to sort list according to your needs