Move membership flags to start of row