Get sensor id from sid of sensor tag and sort euslisp sensors by sensor's sid

Get sensor id from sid of sensor tag.
Sort euslisp sensors by sensor's sid.