def get_order_columns_list(self, list_columns=None):
ret_lst = list()<EOL>list_columns = list_columns or self.get_columns_list()<EOL>for col_name in list_columns:<EOL><INDENT>if hasattr(self.obj, col_name):<EOL><INDENT>if not hasattr(getattr(self.obj, col_name), "<STR_LIT>"):<EOL><INDENT>ret_lst.append(col_name)<EOL><DEDENT><DEDENT>else:<EOL><INDENT>ret_lst.append(col_name)<EOL><DEDENT><DEDENT>return ret_lst<EOL>
Returns the columns that can be ordered

:param list_columns: optional list of columns name, if provided will
    use this list only.