diff --git a/README.md b/README.md
index 820c5d3..3dc8544 100644
--- a/README.md
+++ b/README.md
@@ -137,7 +137,7 @@ Empty Tables
By default the content for the empty table cell is set to `"No Items"`, however it can be changed via the `noDataText` configuration option (see below). It is inserted as one `
` spanning
all columns and placed inside a `
`, which is placed at the top of each table.
-The message can be customized for each table by specifying the `ts-no-data-text` attribute on the same element as the `ts-wrapper`.
+The message can be customized for each table by specifying the `ts-no-data-text` attribute on the same element as the `ts-wrapper`.
```html
";
pagerString += "Showing {{CURRENT_PAGE_RANGE}} {{FILTERED_COUNT === 0 ? '' : 'of'}} ";
pagerString += "{{TOTAL_COUNT | number}} {{TOTAL_COUNT === 1 ? ITEM_NAME_SINGULAR : ITEM_NAME_PLURAL}}";
@@ -232,7 +232,7 @@ There are several tokens that can be used in the templates which will be replace
The name of the things listed in the table can be displayed in the filtering and pagination templates. They are named `"items"` collectively and `"item"` individually by default, but this can be customized in the global config, and per-table to be more specific as to what is being listed.
On a table just set the `ts-item-name` attribute on the same element as `ts-wrapper`. Set this as the singular version of the word, not the plural.
-
+
```html
```
@@ -274,7 +274,7 @@ Another approach is to add the `ts-filter-fields` attribute to the same element
Set the `ts-per-page-options` attribute on the same element that `tw-wrapper` is set on to override the options for the number of items available per page.
Set the `ts-per-page-default` attribute on the same element that `tw-wrapper` is set on to override the default number of items available per page.
-
+
```html
-```
\ No newline at end of file
+```
+
+### Customized Sorting
+
+It may be useful to customize how a particular column is sorted. For example, if a column can contain
+numbers and strings, you may want the numbers to be sorted numerically and the strings to be sorted
+lexicographically. To specify a custom sorting function, add a `ts-order-by` attribute to your
+header element:
+
+```html
+
Name
+```
+
+The function specified in the `ts-order-by` attibute should behave in the same way as a custom comparison
+function passed to `Array.prototype.sort`. See
+[MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/sort)
+for more details.
diff --git a/example.html b/example.html
index 26aac53..67139a2 100644
--- a/example.html
+++ b/example.html
@@ -84,6 +84,28 @@
Click Select to reveal item details.
+
Angular Tablesort with a custom sort function on the Price column