Place the sugar and lemon juice in a cocktail shaker. Swirl the shaker around so that both ingredients are mixed thoroughly. Add ice cubes. Add the vodka, triple sec and margarita mix, and shake well. Strain into a cocktail glass. Add rimmers to make the drink look nice, if you have them.