Sort using 2 columns, one with specific values order

Sort using 2 columns, one with specific values order

avamocravamocr Posts: 5Questions: 0Answers: 0
edited October 2013 in Feature requests
Hi,I have a table with currency code and amount and I need to sort using the following order:
First GBP
Second USD
Third EUR
and each group by amount, for example

Currency Amount
GBP 10
GBP 11
GBP 12
USD 10
USD 11
USD 12
EUR 10
EUR 11
EUR 12


Thanks for you help

Replies

  • avamocravamocr Posts: 5Questions: 0Answers: 0
    I will appreciate if somebody can help me with this.

    Thanks
  • allanallan Posts: 63,210Questions: 1Answers: 10,415 Site admin
    Sounds like you need a sorting plug-in: http://datatables.net/development/sorting#type_based

    Allan
This discussion has been closed.