Added sort security functionnalities
Added sort security algorithms, both in client-side and server-side
On client-side, javascript RegExp is used