用sort to <排序文件名> on 字段 [/a][/d][/c]
[/a]:升序
[/d]:降序
[/c]:不区分大小写
一般是连用,如:/ac,/ad等

解决方案 »

  1.   

    use table(表名)
    index on 字段名 tag px ASCENDING [DESCENDING]
    brow其中  ASCENDING :升序
          DESCENDING:降序如此即可按你需要的字段名进行升/降序排列
      

  2.   

    guangche0:
    在delphi中如何写这几句?
    use table(表名)
    index on 字段名 tag px ASCENDING [DESCENDING]
    brow
    ??????????????????????????