Sort Database  Records  using Jquery