Define sort order when getting data from buffer
Added functionality to select sensors based on sensor description
Refactored transmit code