explosive web programming w/ j_blotus
modern code tactics
Currently viewing the tag: "sql"

You can’t do a natural sort on a string column in MySQL

By jblotus On December 14, 2010 · Leave a Comment

Recently a question popped up over on the CakePHP google group where someone had a problem sorting on a column of “registration numbers”. This was his table sorted order by “Reg No ASC“:

-

ID Name Reg No 1 Product A 1 2 Product B 123 3 Product C 2

-
1, [...]

Continue Reading →
  • mojoLive profile image for jblotus

    30

  • Projects & Profiles

    • @j_blotus on twitter
    • GitHub
    • Stack Overflow Profile
    • Try Handlebars.js
  • Archives

    • February 2013
    • January 2013
    • December 2012
    • June 2012
    • April 2012
    • March 2012
    • November 2011
    • October 2011
    • August 2011
    • July 2011
    • June 2011
    • May 2011
    • December 2010
    • September 2010
  • Tags

    ajax async beanstalk beanstalkapp blogging bug tracker bug tracking cakephp cakephp google group clojure closures douglas crockford git github giving a technical presentation handlebars handlebarsjs issue tracker issue tracking javascript jquery json lighthouse lithium lithium filters lithium php memcached mvc mysql mysysgit netbeans nginx node node.js php php-fpm php 5.3 php ide phpunit podcasts scaling subversion svn tickets wordpress
"Unknown Twitter error." — j_blotus

explosive web programming w/ j_blotus

Pages

The Latest

  • Slides: Simply Scale w/ Nginx, PHP-FPM, Memcached + APC @ SoFlo PHP
    This is a talk I gave at the South Florida PHP Users […]

More

James Fuller is a web developer based in South Florida. I am currently slinging code for Vocabulary & Spelling City. Please check me out on GitHub, StackOverflow and Twitter: @j_blotus.
© explosive web programming w/ j_blotus
Platform by PageLines