A judge ordered Muhammad Thomas detained until trial on first-degree murder and armed robbery charges connected to the deaths of Faustino Alamo, 63, and Luis Angel Alamo, 25.