code: def order_properties(self, property_list=None):
          
          if self.category != Category.MODEL:
              raise APIError("Part should be of category MODEL")
          if not isinstance(property_list, list):
              raise IllegalArgumentError('Expected a list of strings or Property() objects, got a {} object'.
                                         format(type(property_list)))
  
          order_dict = dict()
  
          for prop in property_list:
              if isinstance(prop, (str, text_type)):
                  order_dict[self.property(name=prop).id] = property_list.index(prop)
              else:
                  order_dict[prop.id] = property_list.index(prop)
  
          r = self._client._request('PUT', self._client._build_url('part', part_id=self.id),
                                    data=dict(
                                        property_order=json.dumps(order_dict)
                                    ))
          if r.status_code != requests.codes.ok:  # pragma: no cover
              raise APIError("Could not reorder properties")
docs: Order the properties of a part model using a list of property objects or property names or property id's.
  
          :param property_list: ordered list of property names (basestring) or property id's (uuid)
          :type property_list: list(basestring)
          :returns: the :class:`Part` with the reordered list of properties
          :raises APIError: when an Error occurs
          :raises IllegalArgumentError: When provided a wrong argument
  
          Examples
          --------
          >>> front_fork = client.scope('Bike Project').model('Front Fork')
          >>> front_fork.order_properties(['Material', 'Height (mm)', 'Color'])
  
          >>> front_fork = client.scope('Bike Project').model('Front Fork')
          >>> material = front_fork.property('Material')
          >>> height = front_fork.property('Height (mm)')
          >>> color = front_fork.property('Color')
          >>> front_fork.order_properties([material, height, color])