http://learnwebtutorials.com/wp-content/uploads/2014/07/custom-sort-function.jpg