store reg type order

@ryancarlson This is ready to review