Question: How to sort variables in Gorebner Basis?

Hi, all, I want to sort hundreds of variables which are read from a file. Basically, this is what I want to use: Basis(L,plex(V)); "L" is a variable of list which is read froma file. This part is done. "V" is a variable of list which is read from a file. Well, this part is not done yet. Because I have no idea how to do this. For example, in a file, there are some variables: a, b ,c,d,e,f,g and I can read them into a variable of list: V=[a,b,c,d,e,f,g]; But the problem here is you cannot use it as plex(V) in Groebner basis package. Any suggestions? Thanks in advance. Gepo
Please Wait...