Optimized searches; made sure to sort db requests on number field.  Fixes #49.  Fixes #50.