<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def order(self, order=None):
 """ If order is given, modify the URL correspondingly, return the current order otherwise. """

        if order is None:
            return int(self.url.order)
        self.url.order = str(order)