Sort the ordering of the lua primitives.