In this article, we consider basic algebra, a common generalization of an MV-algebra (an algebraic counterpart of the Lukasiewicz many-valued propositional logic) and an orthomodular lattice (an algebraic counterpart of the logic of quantum mechanics). We get some results regarding b-functions and b-subsets by giving the concept of basic-function on a nonempty set V . We also build a basic code W and explore a new order of it. Finally, we prove that the corresponding orders of the basic algebra B and the basic code W generated by B are the same.