Modulating magnetic ordering of the zigzag-edge trigonal graphene by functionalizations