def sort(self, order="<STR_LIT>"):
self.__prepare()<EOL>if isinstance(self._json_data, list):<EOL><INDENT>if order == "<STR_LIT>":<EOL><INDENT>self._json_data = sorted(self._json_data)<EOL><DEDENT>else:<EOL><INDENT>self._json_data = sorted(self._json_data, reverse=True)<EOL><DEDENT><DEDENT>return self<EOL>
Getting the sorted result of the given list

        :@param order: "asc"
        :@type order: string

        :@return self