On line spike-sorting