support ordering in staging area