Here is the code which is not working: Demo: http://jsfiddle.net/8dt94/63/
You can order by a method, so you can use the toString method