This sortable table uses two custom sort types that are defined in two
external Javascript files called numberksorttype.js
and uscurrencysorttype.js. These define
the sort types NumberK
and UsCurrency
. The NumberK
sort type uses the scientific modifiers K, M, G and T (the
computer science ones, not the general science ones) when comparing the value by
number. The UsCurrency
takes a string representing a US currency formatted
with optional commas ($4,000,123.99)
Size | Name | Date | Currency |
824.8K | File B | 2003-08-13 | $4,000,123.99 |
907980 | File A | 2003-12-01 | $5000.50 |
20.69M | File D | 2001-02-27 | $8 |
1.6G | File C | 2004-01-12 | $0 |