organize the order of members in Detector