Case Insensitive sorting

Bug fixed