Move alter to maintain alpha sort, rewrite to remove dependency on ddb, add very base test for it