How To get the Last Value stored From Firebase Database?

Right.Then you will split the tag at the @ seprator and select from the output list list item 2
Then use this method to sort with date and time.( its quite leangthy )